fix(server): duplicate faces bug (#4844)

This commit is contained in:
Jason Rasmussen
2023-11-05 11:07:29 -05:00
committed by GitHub
parent cf1dfdc776
commit e671b30aaf
2 changed files with 19 additions and 2 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ export class PersonService {
}
const [asset] = await this.assetRepository.getByIds([id]);
if (!asset || !asset.resizePath) {
if (!asset || !asset.resizePath || asset.faces?.length > 0) {
return false;
}