Commit 71025c2d authored by crazywoola's avatar crazywoola

fix: logo

parent 1176b771
......@@ -39,12 +39,12 @@ class WorkspaceService:
replace_webapp_logo = f'{base_url}/files/workspaces/{tenant.id}/webapp-logo' if tenant.custom_config_dict.get('replace_webapp_logo') else None
remove_webapp_brand = tenant.custom_config_dict.get('remove_webapp_brand', False)
# Make sure the custom_config_dict is updated with the new values
tenant.custom_config_dict.update({
brand = {
'base_url': base_url,
'remove_webapp_brand': remove_webapp_brand,
'replace_webapp_logo': replace_webapp_logo,
})
}
tenant_info['custom_config'] = tenant.custom_config_dict
tenant_info['custom_config'].update(brand)
return tenant_info
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