mirror of
https://github.com/stashapp/stash.git
synced 2026-02-08 00:12:55 +01:00
More lint
This commit is contained in:
parent
9b6c3bc880
commit
05094e237f
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue