Run dotnet format

This commit is contained in:
nicolas.dorier
2020-06-28 17:55:27 +09:00
parent 18abc4913b
commit 51514252b6
290 changed files with 1916 additions and 1881 deletions

View File

@@ -26,7 +26,8 @@ namespace BTCPayServer.Controllers
{
var existing = store.GetStoreBlob().ChangellySettings;
if (existing == null) return;
if (existing == null)
return;
vm.ApiKey = existing.ApiKey;
vm.ApiSecret = existing.ApiSecret;
vm.ApiUrl = existing.ApiUrl;
@@ -60,7 +61,7 @@ namespace BTCPayServer.Controllers
Enabled = vm.Enabled,
AmountMarkupPercentage = vm.AmountMarkupPercentage
};
switch (command)
{
case "save":
@@ -70,8 +71,10 @@ namespace BTCPayServer.Controllers
await _Repo.UpdateStore(store);
TempData[WellKnownTempData.SuccessMessage] = "Changelly settings modified";
_changellyClientProvider.InvalidateClient(storeId);
return RedirectToAction(nameof(UpdateStore), new {
storeId});
return RedirectToAction(nameof(UpdateStore), new
{
storeId
});
case "test":
try
{