fix: missing faces job (#2618)

This commit is contained in:
Jason Rasmussen 2023-05-30 14:51:53 -04:00 committed by GitHub
parent da1710bcd2
commit 74c2f446e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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