Pull payment improvements (#5453)

This commit is contained in:
d11n
2023-11-09 10:17:52 +01:00
committed by GitHub
parent 696a414e95
commit 7708084331
5 changed files with 23 additions and 18 deletions

View File

@@ -92,7 +92,7 @@ namespace BTCPayServer
}
[HttpGet("withdraw/pp/{pullPaymentId}")]
public async Task<IActionResult> GetLNURLForPullPayment(string cryptoCode, string pullPaymentId, string pr, CancellationToken cancellationToken)
public async Task<IActionResult> GetLNURLForPullPayment(string cryptoCode, string pullPaymentId, [FromQuery] string pr, CancellationToken cancellationToken)
{
var network = _btcPayNetworkProvider.GetNetwork<BTCPayNetwork>(cryptoCode);
if (network is null || !network.SupportLightning)