Skip to content

Commit 2417332

Browse files
committed
Remove null-forgiving operator
1 parent 163825e commit 2417332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/endpoint/Claims.Provide/Endpoint/Func/Func.Invoke.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public ValueTask<Result<ClaimsProvideOut, Failure<ClaimsProvideFailureCode>>> In
3131
{
3232
Claims = new Claims
3333
{
34-
CorrelationId = input.Data!.AuthenticationContext!.CorrelationId,
34+
CorrelationId = input.Data?.AuthenticationContext?.CorrelationId ?? default,
3535
SystemUserId = systemUser.Value.Id
3636
}
3737
}

0 commit comments

Comments
 (0)