fix(server): new full sync return stacked assets individually (#9189)

* fix(server): new full sync return stacked assets individually

* return archived partner assets (like old getAllAssets)

* fix

* fix test

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
Fynn Petersen-Frey 2024-05-14 17:30:33 +02:00 committed by GitHub
parent 77b8c2f330
commit 4d7aa7effd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 17 deletions

View file

@ -1059,8 +1059,4 @@ FROM
WHERE
"asset"."isVisible" = true
AND "asset"."ownerId" IN ($1)
AND (
"stack"."primaryAssetId" = "asset"."id"
OR "asset"."stackId" IS NULL
)
AND "asset"."updatedAt" > $2