Run dotnet format (#3244)

This commit is contained in:
Nicolas Dorier
2021-12-31 16:59:02 +09:00
committed by GitHub
parent e2d0b7c5f7
commit 04b8eafacb
259 changed files with 1613 additions and 1491 deletions

View File

@@ -57,7 +57,7 @@ namespace BTCPayServer.Plugins.Shopify
public async Task<CreateWebhookResponse> CreateWebhook(string topic, string address, string format = "json")
{
var req = CreateRequest(_credentials.ShopName, HttpMethod.Post, $"webhooks.json");
req.Content = new StringContent(JsonConvert.SerializeObject(new {topic, address, format}), Encoding.UTF8,
req.Content = new StringContent(JsonConvert.SerializeObject(new { topic, address, format }), Encoding.UTF8,
"application/json");
var strResp = await SendRequest(req);
@@ -134,4 +134,4 @@ namespace BTCPayServer.Plugins.Shopify
public string ApiKey { get; set; }
public string ApiPassword { get; set; }
}
}
}