Skip to content

Commit c14aa51

Browse files
authored
fix: Community cannot be embedded (#3644)
1 parent ff810db commit c14aa51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/chat/serializers/chat_embed_serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def get_embed(self, with_valid=True, params=None):
4141
show_guide = 'true'
4242
float_icon = f"{self.data.get('protocol')}://{self.data.get('host')}{CONFIG.get_chat_path()}/MaxKB.gif"
4343
is_license_valid = DatabaseModelManage.get_model('license_is_valid')
44-
X_PACK_LICENSE_IS_VALID = is_license_valid() if is_license_valid() is not None else False
44+
X_PACK_LICENSE_IS_VALID = is_license_valid() if is_license_valid is not None else False
4545
# 获取接入的query参数
4646
query = self.get_query_api_input(application_access_token.application, params)
4747
float_location = {"x": {"type": "right", "value": 0}, "y": {"type": "bottom", "value": 30}}

0 commit comments

Comments
 (0)