Skip to content

Commit

Permalink
fixed codeql findings
Browse files Browse the repository at this point in the history
  • Loading branch information
tfjanjua committed Dec 13, 2024
1 parent b966205 commit 90057fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static void ValidateData(this RegistrationData data)
nameof(data.UniqueIds));
}

var invalidUniqueIdentifiersValues = data.UniqueIds.Where(uniqueId => IsInvalidValueByUniqueIdentifier(uniqueId.Value, uniqueId.UniqueIdentifierId))
data.UniqueIds.Where(uniqueId => IsInvalidValueByUniqueIdentifier(uniqueId.Value, uniqueId.UniqueIdentifierId))
.IfAny(invalidUniqueIdentifiersValues =>
{
throw new ControllerArgumentException(
Expand Down

0 comments on commit 90057fc

Please sign in to comment.