Fix: Creating a new invoice in payment request with LNURL activated would crash

This commit is contained in:
nicolas.dorier
2021-11-04 18:03:34 +09:00
parent d39ae86915
commit f3e9e2ec5f
3 changed files with 3 additions and 3 deletions

View File

@@ -215,7 +215,7 @@ namespace BTCPayServer.Controllers.GreenField
try
{
var invoice = await _invoiceController.CreateInvoiceCoreRaw(request, store,
Request.GetAbsoluteUri(""));
Request.GetAbsoluteRoot());
return Ok(ToModel(invoice));
}
catch (BitpayHttpException e)