From 9817154234171175e0f44831779286b8b81f76dd Mon Sep 17 00:00:00 2001 From: Bai Date: Wed, 3 Apr 2024 19:09:31 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=89=80=E6=9C=89Vie?= =?UTF-8?q?w=E9=BB=98=E8=AE=A4=E6=8E=92=E5=BA=8F=E8=A7=84=E5=88=99(name)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/terminal/api/component/storage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/terminal/api/component/storage.py b/apps/terminal/api/component/storage.py index 9f0b2a94f..b1b9b1af5 100644 --- a/apps/terminal/api/component/storage.py +++ b/apps/terminal/api/component/storage.py @@ -11,6 +11,7 @@ from rest_framework.response import Response from common.const.http import GET from common.drf.filters import BaseFilterSet +from common.api.mixin import CommonApiMixin from terminal import const from terminal.filters import CommandStorageFilter, CommandFilter, CommandFilterForStorageTree from terminal.models import CommandStorage, ReplayStorage @@ -22,7 +23,7 @@ __all__ = [ ] -class BaseStorageViewSetMixin: +class BaseStorageViewSetMixin(CommonApiMixin): def destroy(self, request, *args, **kwargs): instance = self.get_object()