mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix: live photo hiding (#17548)
This commit is contained in:
parent
3bec8dc337
commit
5548eb0dad
@ -646,7 +646,7 @@ export class AssetRepository {
|
||||
const { ownerId, otherAssetId, livePhotoCID, type } = options;
|
||||
return this.db
|
||||
.selectFrom('assets')
|
||||
.select('assets.id')
|
||||
.select(['assets.id', 'assets.ownerId'])
|
||||
.innerJoin('exif', 'assets.id', 'exif.assetId')
|
||||
.where('id', '!=', asUuid(otherAssetId))
|
||||
.where('ownerId', '=', asUuid(ownerId))
|
||||
|
Loading…
x
Reference in New Issue
Block a user