fix(server): without queries (#2621)

This commit is contained in:
Jason Rasmussen
2023-05-31 11:00:37 -04:00
committed by GitHub
parent 9f2b5ea86e
commit 9730bf0acc

View File

@@ -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(),