Browse Source

fix: 创建Web资产报错

pull/9531/head
jiangweidong 2 years ago
parent
commit
85796acfe4
  1. 2
      apps/common/decorators.py

2
apps/common/decorators.py

@ -44,7 +44,7 @@ def key_by_org(*args, **kwargs):
values = list(kwargs.values()) values = list(kwargs.values())
if not values: if not values:
return 'default' return 'default'
return values[0].org_id return values[0][0].org_id
class EventLoopThread(threading.Thread): class EventLoopThread(threading.Thread):

Loading…
Cancel
Save