fix userspace for vide base config

This commit is contained in:
simon 2022-04-08 15:15:59 +07:00
parent e2f4dd124a
commit efa240440b
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -111,7 +111,7 @@ class ArchivistViewConfig(View):
"""build default context for every view"""
self.user_id = user_id
self.user_conf = RedisArchivist()
self.default_conf = AppConfig().config
self.default_conf = AppConfig(self.user_id).config
self.context = {
"colors": self.default_conf["application"]["colors"],