From d738745beb943f26bcaab15d3e8205c4259b50f8 Mon Sep 17 00:00:00 2001 From: mayura-andrew Date: Fri, 27 Sep 2024 23:28:00 +0530 Subject: [PATCH] Refactor Mentee service to remove unnecessary code --- src/services/mentee.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/mentee.service.ts b/src/services/mentee.service.ts index 7f4ca1b..d16c854 100644 --- a/src/services/mentee.service.ts +++ b/src/services/mentee.service.ts @@ -157,7 +157,7 @@ export const getPublicMentee = async ( mentee: publicMentee, message: 'Mentees found' } - } catch (err) {MonthlyCheckIn + } catch (err) { throw new Error('Error getting mentees') } }