High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: live photo hiding (#17548)
Daniel Dietzler5548eb0dad53
diff --git a/server/src/repositories/asset.repository.ts b/server/src/repositories/asset.repository.tsindex e2765d0446..cdca1fa9c8 100644--- a/server/src/repositories/asset.repository.ts+++ b/server/src/repositories/asset.repository.ts@@ -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))