mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Do not send not found if invoices does not belong to logged on user
This commit is contained in:
@@ -34,7 +34,6 @@ namespace BTCPayServer.Controllers
|
|||||||
{
|
{
|
||||||
var invoice = (await _InvoiceRepository.GetInvoices(new InvoiceQuery()
|
var invoice = (await _InvoiceRepository.GetInvoices(new InvoiceQuery()
|
||||||
{
|
{
|
||||||
UserId = GetUserId(),
|
|
||||||
InvoiceId = invoiceId,
|
InvoiceId = invoiceId,
|
||||||
IncludeAddresses = true,
|
IncludeAddresses = true,
|
||||||
IncludeEvents = true
|
IncludeEvents = true
|
||||||
|
|||||||
Reference in New Issue
Block a user