Fix build warning

This commit is contained in:
nicolas.dorier 2024-10-13 00:17:49 +09:00
parent 87ab15f754
commit 73a9835a27
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -69,7 +69,7 @@ namespace BTCPayServer.HostedServices
protected void Subscribe<T>()
{
_Subscriptions.Add(_EventAggregator.Subscribe<T>(e => _Events.Writer.TryWrite(e)));
_Subscriptions.Add(_EventAggregator.Subscribe<T>(e => _Events.Writer.TryWrite(e!)));
}
protected void PushEvent(object obj)