mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 14:04:12 +01:00
Fix async void usage
https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md#async-void
This commit is contained in:
parent
79c685c99b
commit
45ba4675fc
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ namespace BTCPayServer.HostedServices
|
|||
_StoreRepository = storeRepository;
|
||||
}
|
||||
|
||||
async void Notify(InvoiceEntity invoice, InvoiceEvent invoiceEvent, bool extendedNotification)
|
||||
async Task Notify(InvoiceEntity invoice, InvoiceEvent invoiceEvent, bool extendedNotification)
|
||||
{
|
||||
var dto = invoice.EntityToDTO();
|
||||
var notification = new InvoicePaymentNotificationEventWrapper()
|
||||
|
|
Loading…
Add table
Reference in a new issue