Remove useless argument from GetInvoice

This commit is contained in:
nicolas.dorier
2018-12-06 17:05:27 +09:00
parent 1477630c78
commit 9209984a2f
8 changed files with 15 additions and 18 deletions

View File

@@ -330,7 +330,7 @@ namespace BTCPayServer.HostedServices
{
leases.Add(_EventAggregator.Subscribe<InvoiceEvent>(async e =>
{
var invoice = await _InvoiceRepository.GetInvoice(null, e.Invoice.Id);
var invoice = await _InvoiceRepository.GetInvoice(e.Invoice.Id);
if (invoice == null)
return;
List<Task> tasks = new List<Task>();