Do not send not found if invoices does not belong to logged on user

This commit is contained in:
nicolas.dorier
2018-08-23 12:13:27 +09:00
parent 013dfa1b61
commit e0cadb4f62

View File

@@ -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