mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Adopt dotnet core editorconfig, big reformating
This commit is contained in:
@@ -5,35 +5,35 @@ using System.Text;
|
||||
|
||||
namespace BTCPayServer.Models
|
||||
{
|
||||
public class BitpayErrorsModel
|
||||
{
|
||||
public BitpayErrorsModel()
|
||||
{
|
||||
public class BitpayErrorsModel
|
||||
{
|
||||
public BitpayErrorsModel()
|
||||
{
|
||||
|
||||
}
|
||||
public BitpayErrorsModel(BitpayHttpException ex)
|
||||
{
|
||||
Error = ex.Message;
|
||||
}
|
||||
}
|
||||
public BitpayErrorsModel(BitpayHttpException ex)
|
||||
{
|
||||
Error = ex.Message;
|
||||
}
|
||||
|
||||
[JsonProperty("errors", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||
public BitpayErrorModel[] Errors
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
[JsonProperty("error", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||
public string Error
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
[JsonProperty("errors", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||
public BitpayErrorModel[] Errors
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
[JsonProperty("error", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||
public string Error
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
|
||||
public class BitpayErrorModel
|
||||
{
|
||||
[JsonProperty("error")]
|
||||
public string Error
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
public class BitpayErrorModel
|
||||
{
|
||||
[JsonProperty("error")]
|
||||
public string Error
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user