Przeglądaj źródła

change http method to post from put

yohei0125 4 lat temu
rodzic
commit
57b9420bf6
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {