From 9730bf0accf634e2e1601034ed3f55409607dcfb Mon Sep 17 00:00:00 2001 From: Jason Rasmussen Date: Wed, 31 May 2023 11:00:37 -0400 Subject: [PATCH] fix(server): without queries (#2621) --- 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 a2dd3775cc..ec836623c4 100644 --- a/server/libs/infra/src/repositories/asset.repository.ts +++ b/server/libs/infra/src/repositories/asset.repository.ts @@ -117,7 +117,6 @@ export class AssetRepository implements IAssetRepository { }; where = { isVisible: true, - resizePath: Not(IsNull()), exifInfo: { assetId: IsNull(), }, @@ -130,6 +129,7 @@ export class AssetRepository implements IAssetRepository { }; where = { isVisible: true, + resizePath: Not(IsNull()), smartInfo: { clipEmbedding: IsNull(), }, @@ -141,7 +141,7 @@ export class AssetRepository implements IAssetRepository { smartInfo: true, }; where = { - resizePath: IsNull(), + resizePath: Not(IsNull()), isVisible: true, smartInfo: { tags: IsNull(),