From 2a964bfa6c0138c72447ac0452d0167bb5e5b563 Mon Sep 17 00:00:00 2001 From: Bai Date: Wed, 8 Feb 2023 14:27:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20(smart=20endpoint=20=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E5=88=B0=E5=85=A8=E5=B1=80=E7=BB=84=E7=BB=87=E4=B8=8B=E5=8C=B9?= =?UTF-8?q?=E9=85=8D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/terminal/api/component/endpoint.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/terminal/api/component/endpoint.py b/apps/terminal/api/component/endpoint.py index 3b34f4a83..c7518932f 100644 --- a/apps/terminal/api/component/endpoint.py +++ b/apps/terminal/api/component/endpoint.py @@ -24,6 +24,7 @@ class SmartEndpointViewMixin: target_protocol: None @action(methods=['get'], detail=False, permission_classes=[IsValidUserOrConnectionToken]) + @tmp_to_root_org() def smart(self, request, *args, **kwargs): self.target_instance = self.get_target_instance() self.target_protocol = self.get_target_protocol()