Преглед изворни кода

change http method to post from put

yohei0125 пре 4 година
родитељ
комит
57b9420bf6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/app/src/server/routes/apiv3/pages.js

+ 1 - 1
packages/app/src/server/routes/apiv3/pages.js

@@ -551,7 +551,7 @@ module.exports = (crowi) => {
     return res.apiv3(result);
   });
 
-  router.put('/path-recovery-operation', accessTokenParser, loginRequiredStrictly, csrf, apiV3FormValidator, async(req, res) => {
+  router.post('/path-recovery-operation', accessTokenParser, loginRequiredStrictly, csrf, apiV3FormValidator, async(req, res) => {
 
     const { pageId } = req.body;
     try {