Skip to content

Commit

Permalink
small myPage fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Nov 6, 2023
1 parent 60c1624 commit 2f69fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/user/user.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
{
Expand Down

0 comments on commit 2f69fa2

Please sign in to comment.