From 2f69fa281515d105c64dfc72e1cf3fe69211ae15 Mon Sep 17 00:00:00 2001 From: Gbuntu Date: Mon, 6 Nov 2023 11:04:28 +0330 Subject: [PATCH] small myPage fix --- src/features/user/user.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/user/user.controller.ts b/src/features/user/user.controller.ts index 1d0fa1157..c1b9cc3fd 100644 --- a/src/features/user/user.controller.ts +++ b/src/features/user/user.controller.ts @@ -259,7 +259,7 @@ export class UserController { // to avoid seeing an SW created need by the NGO supervisor in the fourth column / Could not find ypu role / when signing socialWorkerId = - role === SAYPlatformRoles.NGO_SUPERVISOR && panelFlaskUserId; + role === SAYPlatformRoles.NGO_SUPERVISOR ? panelFlaskUserId : socialWorkerId; delivered = await this.needService.getDeliveredNeeds( {