fix(search): remove face asset filter from searchPerson method

pull/27336/head
Frost-Phoenix 2026-05-11 11:46:19 +01:00
parent eceaa3b68d
commit 3a44f4f846
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ export class SearchService extends BaseService {
async searchPerson(auth: AuthDto, dto: SearchPeopleDto): Promise<PersonResponseDto[]> {
const people = await this.personRepository.getByName(auth.user.id, dto.name, { withHidden: dto.withHidden });
return people.filter((person) => person.faceAssetId !== null).map((person) => mapPerson(person));
return people.map((person) => mapPerson(person));
}
async searchPlaces(dto: SearchPlacesDto): Promise<PlacesResponseDto[]> {