mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Run dotnet format (#3244)
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user