林轩 преди 1 година
родител
ревизия
e4f477cce4
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      apps/PestAnalysis/views.py

+ 2 - 2
apps/PestAnalysis/views.py

@@ -152,8 +152,8 @@ class PestSelectView(GenericAPIView):
 
 
 class RecentMonthPestCount(GenericAPIView):
-    authentication_classes = [MyJWTAuthentication]
-    permission_classes = [ModulePermission]
+    authentication_classes = []
+    permission_classes = []
 
     def get(self, request, *args, **kwargs):
         try: