mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 07:34:24 +01:00
breez fixes
This commit is contained in:
@@ -417,6 +417,11 @@ public class BreezController : Controller
|
||||
var client = _breezService.GetClient(storeId);
|
||||
existing.SetLightningUrl(client);
|
||||
store.SetSupportedPaymentMethod(existing);
|
||||
var lnurl = new LNURLPaySupportedPaymentMethod()
|
||||
{
|
||||
CryptoCode = "BTC",
|
||||
};
|
||||
store.SetSupportedPaymentMethod(lnurl);
|
||||
await _storeRepository.UpdateStore(store);
|
||||
}
|
||||
|
||||
@@ -438,7 +443,6 @@ public class BreezController : Controller
|
||||
}
|
||||
|
||||
viewModel ??= new PaymentsViewModel();
|
||||
|
||||
viewModel.Payments = client.Sdk.ListPayments(new ListPaymentsRequest(null, null, null,null,true,
|
||||
(uint?) viewModel.Skip, (uint?) viewModel.Count));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user