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"
|
||||
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…
x
Reference in New Issue
Block a user