Update src/Ombi/Controllers/V1/TokenController.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Michael Paulauski 2025-10-05 14:39:46 -04:00 committed by GitHub
parent 0d219e4612
commit a148a610f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}