Skip to content

Commit

Permalink
check fer nul
Browse files Browse the repository at this point in the history
  • Loading branch information
oskogstad committed Sep 26, 2024
1 parent d8ea3bf commit 0b1faa3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ internal sealed class AuthorizationOptionsSetup : IConfigureOptions<Authorizatio

public AuthorizationOptionsSetup(IOptions<GraphQlSettings> options)
{
_options = options.Value ?? throw new ArgumentNullException(nameof(options));
_options = options?.Value ?? throw new ArgumentNullException(nameof(options));
}

public void Configure(AuthorizationOptions options)
Expand Down

0 comments on commit 0b1faa3

Please sign in to comment.