Skip to content

Commit

Permalink
Merge branch 'main' into Resources
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdecock authored Jan 28, 2025
2 parents a8651b5 + f753fe1 commit 2ebb39c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion identity-server/src/Storage/Models/IdentityProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public class IdentityProvider
/// </summary>
public IdentityProvider(string type)
{
Type = type ?? throw new ArgumentNullException(nameof(type));
ArgumentException.ThrowIfNullOrWhiteSpace(type);
Type = type;
}

/// <summary>
Expand Down

0 comments on commit 2ebb39c

Please sign in to comment.