mirror of
https://github.com/detleph/server.git
synced 2026-09-07 07:56:18 +02:00
updated disci response message logically
This commit is contained in:
@@ -65,7 +65,7 @@ export const _getAllDisciplines = async (
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (!disciplines) {
|
if (!disciplines) {
|
||||||
throw new NotFoundError("event", eventId);
|
throw new NotFoundError("disciplines of the event", eventId);
|
||||||
}
|
}
|
||||||
|
|
||||||
return res.status(200).json({
|
return res.status(200).json({
|
||||||
|
|||||||
Reference in New Issue
Block a user