From d22bf7c704d347d6c082cde013e1f7f07386dec9 Mon Sep 17 00:00:00 2001 From: Joey Orlando Date: Thu, 27 Jul 2023 09:51:41 +0200 Subject: [PATCH] change ordering of shift swap viewset authentication classes --- engine/apps/api/views/shift_swap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/apps/api/views/shift_swap.py b/engine/apps/api/views/shift_swap.py index 710a272a..0120a16f 100644 --- a/engine/apps/api/views/shift_swap.py +++ b/engine/apps/api/views/shift_swap.py @@ -21,7 +21,7 @@ logger = logging.getLogger(__name__) class ShiftSwapViewSet(PublicPrimaryKeyMixin, ModelViewSet): - authentication_classes = (PluginAuthentication, MobileAppAuthTokenAuthentication) + authentication_classes = (MobileAppAuthTokenAuthentication, PluginAuthentication) permission_classes = (IsAuthenticated, RBACPermission) rbac_permissions = {