From 85796acfe4924af649b15bcb460a63a9b48792b0 Mon Sep 17 00:00:00 2001 From: jiangweidong Date: Tue, 14 Feb 2023 09:52:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=9B=E5=BB=BAWeb=E8=B5=84=E4=BA=A7?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/common/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/decorators.py b/apps/common/decorators.py index 97c715d44..9c4ca3db8 100644 --- a/apps/common/decorators.py +++ b/apps/common/decorators.py @@ -44,7 +44,7 @@ def key_by_org(*args, **kwargs): values = list(kwargs.values()) if not values: return 'default' - return values[0].org_id + return values[0][0].org_id class EventLoopThread(threading.Thread):