fix #256
This commit is contained in:
parent
6adc9807cb
commit
59d45703fc
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ module.exports = () => {
|
|||
// api.get('/event/search', eventController.search)
|
||||
|
||||
api.put('/event', isAuth, upload.single('image'), eventController.update)
|
||||
api.get('/event/import', isAuth, helpers.importURL)
|
||||
api.get('/event/import', eventController.isAnonEventAllowed, helpers.importURL)
|
||||
|
||||
// remove event
|
||||
api.delete('/event/:id', isAuth, eventController.remove)
|
||||
|
|
Loading…
Reference in a new issue