Browse Source

perf: 修改 applet option

pull/12091/head
ibuler 1 year ago committed by 老广
parent
commit
ba76f30af9
  1. 2
      apps/authentication/serializers/connect_token_secret.py

2
apps/authentication/serializers/connect_token_secret.py

@ -58,6 +58,8 @@ class _ConnectionTokenAccountSerializer(serializers.ModelSerializer):
@staticmethod
def get_su_from(account):
if not hasattr(account, 'asset'):
return {}
su_enabled = account.asset.platform.su_enabled
su_from = account.su_from
if not su_from or not su_enabled:

Loading…
Cancel
Save