Users API: Add roles (#1914)

* API: Fix create user response model

* API: Add roles to user data
This commit is contained in:
Dennis Reimann
2020-09-16 14:17:33 +02:00
committed by GitHub
parent 2711f2cb2f
commit 8ba852084e
4 changed files with 29 additions and 8 deletions

View File

@@ -21,5 +21,10 @@ namespace BTCPayServer.Client.Models
/// whether the user needed to verify their email on account creation
/// </summary>
public bool RequiresEmailConfirmation { get; set; }
/// <summary>
/// the roles of the user
/// </summary>
public string[] Roles { get; set; }
}
}