This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit 2c455e98db1828e0ff9ea3a3571610655784d5d4 Author: Daniel Gruno <[email protected]> AuthorDate: Wed Sep 9 18:13:51 2020 +0200 wrong variable used here --- server/plugins/background.py | 4 ++-- server/plugins/database.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/plugins/background.py b/server/plugins/background.py index fdd6d97..1c1b91f 100644 --- a/server/plugins/background.py +++ b/server/plugins/background.py @@ -44,7 +44,7 @@ async def get_lists(database: plugins.configuration.DBConfig) -> dict: { "host": database.hostname, "port": database.port, - "url_prefix": database.db_prefix, + "url_prefix": database.url_prefix, "use_ssl": database.secure, }, ] @@ -99,7 +99,7 @@ async def get_public_activity(database: plugins.configuration.DBConfig) -> dict: { "host": database.hostname, "port": database.port, - "url_prefix": database.db_prefix, + "url_prefix": database.url_prefix, "use_ssl": database.secure, }, ] diff --git a/server/plugins/database.py b/server/plugins/database.py index 910073a..6719771 100644 --- a/server/plugins/database.py +++ b/server/plugins/database.py @@ -54,7 +54,7 @@ class Database: { "host": config.hostname, "port": config.port, - "url_prefix": config.db_prefix, + "url_prefix": config.url_prefix, "use_ssl": config.secure, }, ]
