mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Bump LND (#3130)
This commit is contained in:
@@ -240,7 +240,7 @@ namespace BTCPayServer.Controllers.GreenField
|
||||
var inv = await lightningClient.GetInvoice(id);
|
||||
if (inv == null)
|
||||
{
|
||||
return NotFound();
|
||||
return this.CreateAPIError(404, "invoice-not-found", "Impossible to find a lightning invoice with this id");
|
||||
}
|
||||
return Ok(ToModel(inv));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user