Adding Flags API
This commit is contained in:
7
src/api/MicCheck.Api/Identities/TraitResponse.cs
Normal file
7
src/api/MicCheck.Api/Identities/TraitResponse.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace MicCheck.Api.Identities;
|
||||
|
||||
public record TraitResponse(string TraitKey, string TraitValue)
|
||||
{
|
||||
public static TraitResponse From(IdentityTrait trait) =>
|
||||
new(trait.Key, trait.Value);
|
||||
}
|
||||
Reference in New Issue
Block a user