From 73a9835a278a97f8268381a83c92e88c24fb3511 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sun, 13 Oct 2024 00:17:49 +0900 Subject: [PATCH] Fix build warning --- BTCPayServer/HostedServices/EventHostedServiceBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/HostedServices/EventHostedServiceBase.cs b/BTCPayServer/HostedServices/EventHostedServiceBase.cs index 7ee37f55e..c3cd5e20a 100644 --- a/BTCPayServer/HostedServices/EventHostedServiceBase.cs +++ b/BTCPayServer/HostedServices/EventHostedServiceBase.cs @@ -69,7 +69,7 @@ namespace BTCPayServer.HostedServices protected void Subscribe() { - _Subscriptions.Add(_EventAggregator.Subscribe(e => _Events.Writer.TryWrite(e))); + _Subscriptions.Add(_EventAggregator.Subscribe(e => _Events.Writer.TryWrite(e!))); } protected void PushEvent(object obj)