From 74c2f446e95326ec968155dad8a050c5a7b7ce35 Mon Sep 17 00:00:00 2001 From: Jason Rasmussen Date: Tue, 30 May 2023 14:51:53 -0400 Subject: [PATCH] fix: missing faces job (#2618) --- server/libs/infra/src/repositories/asset.repository.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/libs/infra/src/repositories/asset.repository.ts b/server/libs/infra/src/repositories/asset.repository.ts index f1fb308f1d..a2dd3775cc 100644 --- a/server/libs/infra/src/repositories/asset.repository.ts +++ b/server/libs/infra/src/repositories/asset.repository.ts @@ -13,8 +13,8 @@ import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { FindOptionsRelations, FindOptionsWhere, In, IsNull, Not, Repository } from 'typeorm'; import { AssetEntity, AssetType } from '../entities'; -import { paginate } from '../utils/pagination.util'; import OptionalBetween from '../utils/optional-between.util'; +import { paginate } from '../utils/pagination.util'; @Injectable() export class AssetRepository implements IAssetRepository { @@ -154,7 +154,7 @@ export class AssetRepository implements IAssetRepository { faces: true, }; where = { - resizePath: IsNull(), + resizePath: Not(IsNull()), isVisible: true, faces: { assetId: IsNull(),