Browse Source

fix: user apikey auth

poeti8 6 years ago
parent
commit
8a0413be38
1 changed files with 1 additions and 1 deletions
  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)
 );