fix: filter null duplicate assets (#21507)

pull/21513/head
Derock 2025-09-02 01:20:01 +07: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

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

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