fix: update assets when duplicateId is provided as null (#18071)

Update assets when duplicateId is provided as null
This commit is contained in:
Jovan Gerodetti
2025-05-06 14:47:19 +02:00
committed by GitHub
parent 1138f6dcce
commit 118a3fc9db
2 changed files with 19 additions and 4 deletions

View File

@@ -115,10 +115,10 @@ export class AssetService extends BaseService {
}
if (
options.isArchived != undefined ||
options.isFavorite != undefined ||
options.duplicateId != undefined ||
options.rating != undefined
options.isArchived !== undefined ||
options.isFavorite !== undefined ||
options.duplicateId !== undefined ||
options.rating !== undefined
) {
await this.assetRepository.updateAll(ids, options);
}