fix: undefined param

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
This commit is contained in:
martin 2024-10-15 12:46:04 +02:00 committed by martabal
parent 352abd6188
commit b08ddf4c61
No known key found for this signature in database
GPG Key ID: C00196E3148A52BD

View File

@ -215,7 +215,7 @@ export class PersonRepository implements IPersonRepository {
return queryBuilder.getMany(); return queryBuilder.getMany();
} }
@GenerateSql({ params: [DummyValue.UUID, { withArchived: undefined }] }) @GenerateSql({ params: [DummyValue.UUID, {}] })
async getStatistics(personId: string, options: PersonStatsOptions): Promise<PersonStatistics> { async getStatistics(personId: string, options: PersonStatsOptions): Promise<PersonStatistics> {
/* /*
* withArchived: true -> Return the count of all assets for a given person * withArchived: true -> Return the count of all assets for a given person