fix(server): places page not working with partner sharing (#8257)

This commit is contained in:
Mert
2024-03-25 01:59:11 -04:00
committed by GitHub
parent c788160532
commit 4a6a0aa142
2 changed files with 6 additions and 6 deletions

View File

@@ -278,7 +278,7 @@ WITH RECURSIVE
exif
INNER JOIN assets ON exif."assetId" = assets.id
WHERE
"ownerId" IN ($1)
"ownerId" = ANY ('$1'::uuid [])
AND "isVisible" = $2
AND "isArchived" = $3
AND type = $4
@@ -302,7 +302,7 @@ WITH RECURSIVE
INNER JOIN assets ON exif."assetId" = assets.id
WHERE
city > c.city
AND "ownerId" IN ($1)
AND "ownerId" = ANY ('$1'::uuid [])
AND "isVisible" = $2
AND "isArchived" = $3
AND type = $4