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:
parent
da1710bcd2
commit
74c2f446e9
1 changed files with 2 additions and 2 deletions
|
@ -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(),
|
||||||
|
|
Loading…
Reference in a new issue