mirror of
https://github.com/immich-app/immich.git
synced 2026-03-06 18:17:27 +03:00
@@ -107,6 +107,7 @@ export class PersonRepository implements IPersonRepository {
|
||||
|
||||
@GenerateSql({ params: [DummyValue.UUID] })
|
||||
getFaceById(id: string): Promise<AssetFaceEntity> {
|
||||
// TODO return null instead of find or fail
|
||||
return this.assetFaceRepository.findOneOrFail({
|
||||
where: { id },
|
||||
relations: {
|
||||
|
||||
Reference in New Issue
Block a user