Переглянути джерело

Correction type requete http rename

Loquicom 5 роки тому
батько
коміт
367d404558
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      node/src/router.js

+ 1 - 1
node/src/router.js

@@ -281,7 +281,7 @@ const router = class Router {
             }
         }]);*/
 
-        this.app.post('/rename/:file', [this.verbose, this.verifyAuth, (req, res) => {
+        this.app.put('/rename/:file', [this.verbose, this.verifyAuth, (req, res) => {
 
         }]);