fix: initialize site with customized icon and icon_background (#5227)

This commit is contained in:
kurokobo 2024-06-14 23:15:50 +09:00 committed by GitHub
parent 28554350de
commit 0391282b5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,8 @@ def handle(sender, **kwargs):
site = Site( site = Site(
app_id=app.id, app_id=app.id,
title=app.name, title=app.name,
icon = app.icon,
icon_background = app.icon_background,
default_language=account.interface_language, default_language=account.interface_language,
customize_token_strategy='not_allow', customize_token_strategy='not_allow',
code=Site.generate_code(16) code=Site.generate_code(16)