mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
fix tests
This commit is contained in:
parent
4ba04031ef
commit
66af258876
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ namespace BTCPayServer.Services.Notifications
|
||||||
query = query.Where(store => store.DisabledNotifications != "all");
|
query = query.Where(store => store.DisabledNotifications != "all");
|
||||||
foreach (string term in terms)
|
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();
|
return query.Select(user => user.Id).ToArray();
|
||||||
|
|
Loading…
Add table
Reference in a new issue