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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,6 @@ export class AssetRepository implements IAssetRepository {
}; };
where = { where = {
isVisible: true, isVisible: true,
resizePath: Not(IsNull()),
exifInfo: { exifInfo: {
assetId: IsNull(), assetId: IsNull(),
}, },
@ -130,6 +129,7 @@ export class AssetRepository implements IAssetRepository {
}; };
where = { where = {
isVisible: true, isVisible: true,
resizePath: Not(IsNull()),
smartInfo: { smartInfo: {
clipEmbedding: IsNull(), clipEmbedding: IsNull(),
}, },
@ -141,7 +141,7 @@ export class AssetRepository implements IAssetRepository {
smartInfo: true, smartInfo: true,
}; };
where = { where = {
resizePath: IsNull(), resizePath: Not(IsNull()),
isVisible: true, isVisible: true,
smartInfo: { smartInfo: {
tags: IsNull(), tags: IsNull(),