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

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