From e0cadb4f629f26e3e5fd95cee28e1be3e930ea62 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 23 Aug 2018 12:13:27 +0900 Subject: [PATCH] Do not send not found if invoices does not belong to logged on user --- BTCPayServer/Controllers/InvoiceController.UI.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/BTCPayServer/Controllers/InvoiceController.UI.cs b/BTCPayServer/Controllers/InvoiceController.UI.cs index b19ef685e..2c887126e 100644 --- a/BTCPayServer/Controllers/InvoiceController.UI.cs +++ b/BTCPayServer/Controllers/InvoiceController.UI.cs @@ -34,7 +34,6 @@ namespace BTCPayServer.Controllers { var invoice = (await _InvoiceRepository.GetInvoices(new InvoiceQuery() { - UserId = GetUserId(), InvoiceId = invoiceId, IncludeAddresses = true, IncludeEvents = true