Sfoglia il codice sorgente

fix: user apikey auth

poeti8 6 anni fa
parent
commit
8a0413be38
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)
 );