fix: don't show comments or likes for trashed assets (#19113)

This commit is contained in:
Zack Pollard 2025-06-11 15:36:00 +01:00 committed by GitHub
parent bedcf50196
commit 5dd3a6e13f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -23,9 +23,9 @@ from
) as "dummy"
) as "user" on true
left join "assets" on "assets"."id" = "activity"."assetId"
and "assets"."deletedAt" is null
where
"activity"."albumId" = $1
and "assets"."deletedAt" is null
order by
"activity"."createdAt" asc