Commit a0dceb06 authored by Jun Siang Cheah's avatar Jun Siang Cheah
Browse files

fix: nested WrappedConfig breaks things

parent 298e6848
......@@ -511,10 +511,8 @@ DEFAULT_USER_ROLE = WrappedConfig(
os.getenv("DEFAULT_USER_ROLE", "pending"),
)
USER_PERMISSIONS_CHAT_DELETION = WrappedConfig(
"USER_PERMISSIONS_CHAT_DELETION",
"ui.user_permissions.chat.deletion",
os.environ.get("USER_PERMISSIONS_CHAT_DELETION", "True").lower() == "true",
USER_PERMISSIONS_CHAT_DELETION = (
os.environ.get("USER_PERMISSIONS_CHAT_DELETION", "True").lower() == "true"
)
USER_PERMISSIONS = WrappedConfig(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment