From 72fa3c033b1e35f71ed95bd15378355414b364db Mon Sep 17 00:00:00 2001 From: La_Felx <60652077+Flexla54@users.noreply.github.com> Date: Mon, 26 Dec 2022 02:00:03 +0100 Subject: [PATCH] updated disci response message logically --- src/Controllers/discipline.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controllers/discipline.controller.ts b/src/Controllers/discipline.controller.ts index e9aba9d..3842752 100644 --- a/src/Controllers/discipline.controller.ts +++ b/src/Controllers/discipline.controller.ts @@ -65,7 +65,7 @@ export const _getAllDisciplines = async ( }); if (!disciplines) { - throw new NotFoundError("event", eventId); + throw new NotFoundError("disciplines of the event", eventId); } return res.status(200).json({