fix(plugins): Fix plugin version for plugin list API endpoint
This commit is contained in:
parent
46ecfcd62a
commit
05667787de
|
@ -203,7 +203,8 @@ class Plugin:
|
||||||
Returns:
|
Returns:
|
||||||
Dict containing version and permissions of the plugin
|
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):
|
class AuthPlugin(Plugin):
|
||||||
|
|
Loading…
Reference in New Issue