Adjust privileges mgmt
Jenkins Production Deployment

This commit is contained in:
2022-12-25 18:24:18 +01:00
parent a8f7189cb3
commit ccfa28877c
2 changed files with 15 additions and 3 deletions
+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.'});
}