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