Browse Source

enable router

jam411 3 years ago
parent
commit
18f0223c46
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/server/routes/apiv3/invited.ts

+ 1 - 1
packages/app/src/server/routes/apiv3/invited.ts

@@ -13,7 +13,7 @@ module.exports = (crowi: Crowi): Router => {
   const User = crowi.model('User');
   const router = express.Router();
 
-  router.post('/invited', applicationInstalled, invitedRules(), invitedValidation, async(req: InvitedFormRequest, res: ApiV3Response) => {
+  router.post('/', applicationInstalled, invitedRules(), invitedValidation, async(req: InvitedFormRequest, res: ApiV3Response) => {
     if (!req.user) {
       return res.apiv3({ redirectTo: '/login' });
     }