make invoice repository able to query more extensively

This commit is contained in:
Kukks
2019-09-21 17:07:48 +02:00
parent 59839a3332
commit f3aa67e0f1
4 changed files with 28 additions and 24 deletions

View File

@@ -41,7 +41,7 @@ namespace BTCPayServer.Controllers
{
var invoice = (await _InvoiceRepository.GetInvoices(new InvoiceQuery()
{
InvoiceId = id,
InvoiceId = new[] {id},
StoreId = new[] { HttpContext.GetStoreData().Id }
})).FirstOrDefault();
if (invoice == null)