More lint

This commit is contained in:
Gykes 2026-01-30 11:22:04 -08:00
parent 9b6c3bc880
commit 05094e237f

View file

@ -216,7 +216,9 @@ func (qb *fileFilterHandler) duplicatedCriterionHandler(duplicatedFilter *models
var phashValue *bool
// Handle legacy 'duplicated' field for backwards compatibility
//nolint:staticcheck
if duplicatedFilter.Duplicated != nil && duplicatedFilter.Phash == nil {
//nolint:staticcheck
phashValue = duplicatedFilter.Duplicated
} else if duplicatedFilter.Phash != nil {
phashValue = duplicatedFilter.Phash