mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: file samples (#20364)
This commit is contained in:
parent
7e7b8da128
commit
16b14b390f
2 changed files with 3 additions and 0 deletions
|
|
@ -189,6 +189,8 @@ select
|
|||
) as "files"
|
||||
from
|
||||
"asset"
|
||||
where
|
||||
"asset"."libraryId" is null
|
||||
limit
|
||||
3
|
||||
|
||||
|
|
|
|||
|
|
@ -349,6 +349,7 @@ export class AssetRepository {
|
|||
'files',
|
||||
),
|
||||
])
|
||||
.where('asset.libraryId', 'is', null)
|
||||
.limit(sql.lit(3))
|
||||
.execute();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue