mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Refactor UserService.IsDisabled to a property
This commit is contained in:
@@ -459,7 +459,6 @@ namespace BTCPayServer.Controllers.Greenfield
|
||||
private async Task<ApplicationUserData> ForAPI(ApplicationUser data)
|
||||
{
|
||||
var roles = (await _userManager.GetRolesAsync(data)).ToArray();
|
||||
var blob = data.GetBlob();
|
||||
return await UserService.ForAPI<ApplicationUserData>(data, roles, _callbackGenerator, _uriResolver, Request);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user