fix(server): prevent cross-library motion photo linking, made getByChecksum library specific (#8719)

prevent cross linking
This commit is contained in:
Kevin Huang 2024-04-11 06:41:30 -07:00 committed by GitHub
parent 37eea2d353
commit ec76e5ef23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -464,7 +464,7 @@ FROM
WHERE
(
(
("AssetEntity"."ownerId" = $1)
("AssetEntity"."libraryId" = $1)
AND ("AssetEntity"."checksum" = $2)
)
)