Преглед на файлове

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) => {
 
         }]);