1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 02:46:47 +01:00

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 { InjectRepository } from '@nestjs/typeorm';
import { FindOptionsRelations, FindOptionsWhere, In, IsNull, Not, Repository } from 'typeorm'; import { FindOptionsRelations, FindOptionsWhere, In, IsNull, Not, Repository } from 'typeorm';
import { AssetEntity, AssetType } from '../entities'; import { AssetEntity, AssetType } from '../entities';
import { paginate } from '../utils/pagination.util';
import OptionalBetween from '../utils/optional-between.util'; import OptionalBetween from '../utils/optional-between.util';
import { paginate } from '../utils/pagination.util';
@Injectable() @Injectable()
export class AssetRepository implements IAssetRepository { export class AssetRepository implements IAssetRepository {
@ -154,7 +154,7 @@ export class AssetRepository implements IAssetRepository {
faces: true, faces: true,
}; };
where = { where = {
resizePath: IsNull(), resizePath: Not(IsNull()),
isVisible: true, isVisible: true,
faces: { faces: {
assetId: IsNull(), assetId: IsNull(),