diff --git a/src/routes/write/files.js b/src/routes/write/files.js index f6e4e58f56..ce40cab5f1 100644 --- a/src/routes/write/files.js +++ b/src/routes/write/files.js @@ -10,6 +10,7 @@ const setupApiRoute = routeHelpers.setupApiRoute; module.exports = function () { const middlewares = [middleware.authenticate]; + // setupApiRoute(router, '/', middleware, [...middlewares, middleware.checkRequired.bind(null, ['path']), middleware.assertFolder], 'put', controllers.write.files.upload); setupApiRoute(router, '/', middleware, [...middlewares, middleware.checkRequired.bind(null, ['path']), middleware.assertPath], 'delete', controllers.write.files.delete); return router;