feat: custom webapp logo (#1766)

This commit is contained in:
zxhlyh 2023-12-18 16:25:37 +08:00 • committed by GitHub
commit 5bb841935e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 888 additions and 24 deletions

View file

@ -412,6 +412,12 @@ class TenantService:
db.session.delete(tenant)
db.session.commit()
@staticmethod
def get_custom_config(tenant_id: str) -> None:
tenant = db.session.query(Tenant).filter(Tenant.id == tenant_id).one_or_404()
return tenant.custom_config_dict
class RegisterService: