Adjust privileges mgmt
Jenkins Production Deployment

This commit is contained in:
Paddy committed 2022-12-25 18:24:18 +01:00
1 parent a8f7189cb3
commit ccfa28877c
2 files changed
+15 -3

No files matched your search

+1 -1
View File
@@ -244,7 +244,7 @@ eventsRouter.delete('/:eventId', async (req: Request, res: Response) => {
let success = await EventService.deleteEvent(event);
if (success) {
res.status(200).send({'message': 'Event was successfully updated'});
res.status(200).send({'message': 'Event was successfully deleted'});
} else {
res.status(500).send({'message': 'An error occurred during deletion. Please try again.'});
}