Add token scope tests in routes
This commit is contained in:
@@ -164,7 +164,7 @@ function initializeExpressSync() {
|
||||
router.get ('/api/v1/app_passwords/:id', token, routes.appPasswords.get);
|
||||
router.del ('/api/v1/app_passwords/:id', token, routes.appPasswords.del);
|
||||
|
||||
// access tokenss
|
||||
// access tokens
|
||||
router.get ('/api/v1/tokens', token, routes.tokens.list);
|
||||
router.post('/api/v1/tokens', json, token, routes.tokens.add);
|
||||
router.get ('/api/v1/tokens/:id', token, routes.tokens.verifyOwnership, routes.tokens.get);
|
||||
|
||||
Reference in New Issue
Block a user