add status and refactor

This commit is contained in:
Kukks
2020-07-24 09:40:37 +02:00
committed by nicolas.dorier
parent cb5601c68b
commit d96bd15b3b
23 changed files with 167 additions and 62 deletions

View File

@@ -243,7 +243,7 @@ namespace BTCPayServer.Controllers
}
await _InvoiceRepository.AddInvoiceLogs(entity.Id, logs);
});
_EventAggregator.Publish(new Events.InvoiceEvent(entity, 1001, InvoiceEvent.Created));
_EventAggregator.Publish(new Events.InvoiceEvent(entity, InvoiceEvent.Created));
return entity;
}