From f76ce54109fd749477ca104a18b540173b78cc9e Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 13 Jan 2022 18:14:15 +0900 Subject: [PATCH] Fix tests --- BTCPayServer/Controllers/InvoiceController.UI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Controllers/InvoiceController.UI.cs b/BTCPayServer/Controllers/InvoiceController.UI.cs index 5340b48d8..d99f71c7b 100644 --- a/BTCPayServer/Controllers/InvoiceController.UI.cs +++ b/BTCPayServer/Controllers/InvoiceController.UI.cs @@ -746,7 +746,7 @@ namespace BTCPayServer.Controllers [HttpGet("/stores/{storeId}/invoices")] [HttpGet("invoices")] - [Authorize(AuthenticationSchemes = AuthenticationSchemes.Cookie, Policy = Policies.CanViewInvoices)] + [Authorize(AuthenticationSchemes = AuthenticationSchemes.Cookie)] [BitpayAPIConstraint(false)] public async Task ListInvoices(InvoicesModel? model = null) {