Przeglądaj źródła

fix: user apikey auth

poeti8 6 lat temu
rodzic
commit
8a0413be38
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      server/routes/users.ts

+ 1 - 1
server/routes/users.ts

@@ -8,8 +8,8 @@ const router = Router();
 
 router.get(
   "/",
-  asyncHandler(auth.jwt),
   asyncHandler(auth.apikey),
+  asyncHandler(auth.jwt),
   asyncHandler(user.get)
 );