mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Switch from System.Text.Json to Newtonsoft, typify the BTCPayServer.Client
This commit is contained in:
@@ -45,7 +45,7 @@ namespace BTCPayServer.Controllers.RestApi.ApiKeys
|
||||
{
|
||||
return new ApiKeyData()
|
||||
{
|
||||
Permissions = Permission.ToPermissions(data.Permissions).Select(c => c.ToString()).ToArray(),
|
||||
Permissions = Permission.ToPermissions(data.Permissions).ToArray(),
|
||||
ApiKey = data.Id,
|
||||
UserId = data.UserId,
|
||||
Label = data.Label
|
||||
|
||||
Reference in New Issue
Block a user