mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-07 16:14:20 +01:00
Fix async void usage
https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md#async-void
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user