Explorar o código

Correction type requete http rename

Loquicom %!s(int64=5) %!d(string=hai) anos
pai
achega
367d404558
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) => {
 
         }]);