mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-06 15:44:26 +01:00
fix tests
This commit is contained in:
@@ -95,7 +95,8 @@ namespace BTCPayServer.Services.Notifications
|
||||
query = query.Where(store => store.DisabledNotifications != "all");
|
||||
foreach (string term in terms)
|
||||
{
|
||||
query = query.Where(user => user.DisabledNotifications == null || !user.DisabledNotifications.Contains(term, StringComparison.OrdinalIgnoreCase));
|
||||
// ReSharper disable once CA1307
|
||||
query = query.Where(user => user.DisabledNotifications == null || !user.DisabledNotifications.Contains(term ));
|
||||
}
|
||||
|
||||
return query.Select(user => user.Id).ToArray();
|
||||
|
||||
Reference in New Issue
Block a user