diff --git a/BTCPayServer/Controllers/UILNURLController.cs b/BTCPayServer/Controllers/UILNURLController.cs index 41aff6b76..66a52d088 100644 --- a/BTCPayServer/Controllers/UILNURLController.cs +++ b/BTCPayServer/Controllers/UILNURLController.cs @@ -89,11 +89,14 @@ namespace BTCPayServer _pluginHookService = pluginHookService; _invoiceActivator = invoiceActivator; } + + [EnableCors(CorsPolicies.All)] [HttpGet("withdraw/pp/{pullPaymentId}")] public Task GetLNURLForPullPayment(string cryptoCode, string pullPaymentId, [FromQuery] string pr, CancellationToken cancellationToken) { return GetLNURLForPullPayment(cryptoCode, pullPaymentId, pr, pullPaymentId, cancellationToken); } + [NonAction] internal async Task GetLNURLForPullPayment(string cryptoCode, string pullPaymentId, string pr, string k1, CancellationToken cancellationToken) {