fix(plugins): Fix plugin version for plugin list API endpoint

This commit is contained in:
Ferdinand Thiessen 2021-12-23 03:06:54 +01:00
parent f0751a3cc5
commit a9674d68ab
1 changed files with 2 additions and 1 deletions

View File

@ -200,7 +200,8 @@ class Plugin:
Returns:
Dict containing version and permissions of the plugin
"""
return {"version": self.version, "permissions": self.permissions}
from flaschengeist.utils.plugin import plugin_version
return {"version": plugin_version(self), "permissions": self.permissions}
class AuthPlugin(Plugin):