Skip to content

Commit d32e4df

Browse files
committed
Incorrect Logic comment
1 parent 2379d50 commit d32e4df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

application/CohortManager/src/Functions/ParticipantManagementServices/UpdateBlockedFlag/BlockParticipantHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public async Task<BlockParticipantResult> UnblockParticipant(long nhsNumber)
9191
return new BlockParticipantResult(false, "Failed to unset blocked flag");
9292
}
9393

94-
if (participantManagementRecord.EligibilityFlag == 1)
94+
if (participantManagementRecord.EligibilityFlag == 0)
9595
{
9696
return new BlockParticipantResult(true, "Participant was unblocked but not resubscribed to Nems as they are ineligible");
9797
}

0 commit comments

Comments
 (0)