coinswitch integration

This commit is contained in:
Kukks
2018-12-18 19:01:58 +01:00
parent c00c95efcf
commit 2b4603a234
9 changed files with 61 additions and 16 deletions

View File

@@ -27,6 +27,7 @@ namespace BTCPayServer.Controllers
if (existing == null) return;
vm.MerchantId = existing.MerchantId;
vm.Enabled = existing.Enabled;
vm.Mode = existing.Mode;
}
[HttpPost]
@@ -48,7 +49,8 @@ namespace BTCPayServer.Controllers
var coinSwitchSettings = new CoinSwitchSettings()
{
MerchantId = vm.MerchantId,
Enabled = vm.Enabled
Enabled = vm.Enabled,
Mode = vm.Mode
};
switch (command)