breez fixes

This commit is contained in:
Kukks
2024-03-22 11:22:55 +01:00
parent d67a42a30a
commit de5d6c9113
7 changed files with 52 additions and 25 deletions

View File

@@ -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));