mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-23 07:04:26 +01:00
Fix warnings
This commit is contained in:
@@ -479,7 +479,7 @@ namespace BTCPayServer.Tests
|
||||
assert(typedEvt);
|
||||
return typedEvt;
|
||||
}
|
||||
catch (XunitException ex)
|
||||
catch (XunitException)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,7 +97,9 @@ namespace BTCPayServer.Services.Notifications
|
||||
{
|
||||
// Cannot specify StringComparison as EF core does not support it and would attempt client-side evaluation
|
||||
// ReSharper disable once CA1307
|
||||
query = query.Where(user => user.DisabledNotifications == null || !user.DisabledNotifications.Contains(term ));
|
||||
#pragma warning disable CA1307 // Specify StringComparison
|
||||
query = query.Where(user => user.DisabledNotifications == null || !user.DisabledNotifications.Contains(term));
|
||||
#pragma warning restore CA1307 // Specify StringComparison
|
||||
}
|
||||
|
||||
return query.Select(user => user.Id).ToArray();
|
||||
|
||||
Reference in New Issue
Block a user