Sfoglia il codice sorgente

Merge branch 'feat/implement-resume-rename-operation' into feat/prevent-page-operation-from-being-processed-many-times-at-once

yohei0125 3 anni fa
parent
commit
30477780b3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 {