Skip to content

Commit 5a39e8e

Browse files
committed
Just a minor commit
1 parent 1be27f7 commit 5a39e8e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/ldp-middleware.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const del = require('./handlers/delete')
1010
const patch = require('./handlers/patch')
1111
const index = require('./handlers/index')
1212
const copy = require('./handlers/copy')
13-
const validate = require('./handlers/validate')
13+
// const validate = require('./handlers/validate')
1414

1515
function LdpMiddleware (corsSettings) {
1616
const router = express.Router('/')
@@ -24,9 +24,9 @@ function LdpMiddleware (corsSettings) {
2424

2525
router.copy('/*', allow('Write'), copy)
2626
router.get('/*', index, allow('Read'), header.addPermissions, get)
27-
router.post('/*', allow('Append'), validate, post)
28-
router.patch('/*', allow('Append'), validate, patch)
29-
router.put('/*', allow('Write'), validate, put)
27+
router.post('/*', allow('Append'), post)
28+
router.patch('/*', allow('Append'), patch)
29+
router.put('/*', allow('Write'), put)
3030
router.delete('/*', allow('Write'), del)
3131

3232
return router

0 commit comments

Comments
 (0)