diff --git a/BTCPayServer/HostedServices/InvoiceNotificationManager.cs b/BTCPayServer/HostedServices/InvoiceNotificationManager.cs index 9547cfb91..37d3048c1 100644 --- a/BTCPayServer/HostedServices/InvoiceNotificationManager.cs +++ b/BTCPayServer/HostedServices/InvoiceNotificationManager.cs @@ -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()