Explorar el Código

enable router

jam411 hace 3 años
padre
commit
18f0223c46
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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' });
     }