2
0
Эх сурвалжийг харах

implement placeholder validation for access token scope

reiji-h 1 жил өмнө
parent
commit
51a3c2ef6b

+ 1 - 0
apps/app/src/server/routes/apiv3/personal-setting/generate-access-token.ts

@@ -62,6 +62,7 @@ const validator = [
     .withMessage('scope must be an array')
     .withMessage('scope must be an array')
     .custom(() => {
     .custom(() => {
       // TODO: Check if all values are valid
       // TODO: Check if all values are valid
+      return true;
     }),
     }),
 ];
 ];