fix(server): person repo methods (#12524)

This commit is contained in:
Jason Rasmussen 2024-09-10 09:48:29 -04:00 committed by GitHub
parent 27050af57b
commit d634ef2d2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 85 additions and 81 deletions

View file

@ -301,7 +301,7 @@ export class StorageCore {
return this.assetRepository.update({ id, sidecarPath: newPath });
}
case PersonPathType.FACE: {
return this.personRepository.update([{ id, thumbnailPath: newPath }]);
return this.personRepository.update({ id, thumbnailPath: newPath });
}
}
}