This commit is contained in:
lesion 2023-04-05 16:16:37 +02:00
parent 6adc9807cb
commit 59d45703fc
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -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)