mirror of
https://github.com/immich-app/immich.git
synced 2026-03-04 09:57:33 +03:00
fix(server): get assetFiles when retrieving assets WithoutProperty.THUMBNAIL (#12225)
This commit is contained in:
@@ -395,7 +395,7 @@ export class AssetRepository implements IAssetRepository {
|
||||
|
||||
switch (property) {
|
||||
case WithoutProperty.THUMBNAIL: {
|
||||
relations = { jobStatus: true };
|
||||
relations = { jobStatus: true, files: true };
|
||||
where = [
|
||||
{ jobStatus: { previewAt: IsNull() }, isVisible: true },
|
||||
{ jobStatus: { thumbnailAt: IsNull() }, isVisible: true },
|
||||
|
||||
Reference in New Issue
Block a user