chore: finish migrating eslint config files; bump unicorn (#17200)

This commit is contained in:
Daniel Dietzler
2025-03-31 13:18:25 +02:00
committed by GitHub
parent e4f83680d9
commit 238c151ac3
23 changed files with 883 additions and 1286 deletions

View File

@@ -84,7 +84,7 @@ export class PersonRepository {
.$if(!!faceIds, (qb) => qb.where('asset_faces.id', 'in', faceIds!))
.executeTakeFirst();
return Number(result.numChangedRows) ?? 0;
return Number(result.numChangedRows ?? 0);
}
@GenerateSql({ params: [{ sourceType: SourceType.EXIF }] })
@@ -269,7 +269,7 @@ export class PersonRepository {
.where('asset_faces.id', '=', assetFaceId)
.executeTakeFirst();
return Number(result.numChangedRows) ?? 0;
return Number(result.numChangedRows ?? 0);
}
getById(personId: string): Promise<PersonEntity | null> {