mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-12-11 04:37:57 -06:00
Update src/Ombi/Controllers/V1/TokenController.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
0d219e4612
commit
a148a610f7
@ -144,7 +144,7 @@ namespace Ombi.Controllers.V1
|
||||
.Where(x => x.UserId == user.Id)
|
||||
.ToListAsync();
|
||||
|
||||
if (existingErrors.Count > 0)
|
||||
if (existingErrors.Any())
|
||||
{
|
||||
await _watchlistUserErrors.DeleteRange(existingErrors);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user