fix: filter null duplicate assets (#21507)

This commit is contained in:
Derock 2025-09-02 01:20:01 -04:00 committed by GitHub
parent e7b0a47be2
commit 5b8d72e91a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ with
) as "assets"
from
"asset"
left join lateral (
inner join lateral (
select
"asset".*,
"asset_exif" as "exifInfo"

View File

@ -34,7 +34,7 @@ export class DuplicateRepository {
qb
.selectFrom('asset')
.$call(withDefaultVisibility)
.leftJoinLateral(
.innerJoinLateral(
(qb) =>
qb
.selectFrom('asset_exif')