fix: web app text (#1784)

This commit is contained in:
zxhlyh 2023-12-19 11:45:16 +08:00 • committed by GitHub
commit 867fc61b12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -127,7 +127,7 @@ class Tenant(db.Model):
@property
def custom_config_dict(self) -> dict:
return json.loads(self.custom_config) if self.custom_config else None
return json.loads(self.custom_config) if self.custom_config else {}
@custom_config_dict.setter
def custom_config_dict(self, value: dict):