Fix tests

This commit is contained in:
nicolas.dorier
2020-03-20 18:56:30 +09:00
parent 2a865284da
commit 53e7c84e73
5 changed files with 8 additions and 37 deletions

View File

@@ -1,3 +1,6 @@
using BTCPayServer.Client.JsonConverters;
using Newtonsoft.Json;
namespace BTCPayServer.Client.Models
{
public class ApiKeyData
@@ -5,6 +8,7 @@ namespace BTCPayServer.Client.Models
public string ApiKey { get; set; }
public string Label { get; set; }
public string UserId { get; set; }
[JsonProperty(ItemConverterType = typeof(PermissionJsonConverter))]
public Permission[] Permissions { get; set; }
}
}