mirror of
https://github.com/immich-app/immich.git
synced 2025-07-31 15:08:44 -04:00
fix: file samples (#20364)
This commit is contained in:
parent
7e7b8da128
commit
16b14b390f
@ -189,6 +189,8 @@ select
|
|||||||
) as "files"
|
) as "files"
|
||||||
from
|
from
|
||||||
"asset"
|
"asset"
|
||||||
|
where
|
||||||
|
"asset"."libraryId" is null
|
||||||
limit
|
limit
|
||||||
3
|
3
|
||||||
|
|
||||||
|
@ -349,6 +349,7 @@ export class AssetRepository {
|
|||||||
'files',
|
'files',
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
|
.where('asset.libraryId', 'is', null)
|
||||||
.limit(sql.lit(3))
|
.limit(sql.lit(3))
|
||||||
.execute();
|
.execute();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user