mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 01:11:16 +03:00
fix: update assets when duplicateId is provided as null (#18071)
Update assets when duplicateId is provided as null
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user