mirror of
https://github.com/immich-app/immich.git
synced 2025-12-19 01:11:07 +03:00
fix(server): prevent cross-library motion photo linking, made getByChecksum library specific (#8719)
prevent cross linking
This commit is contained in:
@@ -464,7 +464,7 @@ FROM
|
||||
WHERE
|
||||
(
|
||||
(
|
||||
("AssetEntity"."ownerId" = $1)
|
||||
("AssetEntity"."libraryId" = $1)
|
||||
AND ("AssetEntity"."checksum" = $2)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user