Skip to content

Commit

Permalink
adjust config var usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkreuzkam-cap committed Dec 17, 2024
1 parent 4a163ae commit 29534a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/infra/sync/tsp/tsp-sync.strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class TspSyncStrategy extends SyncStrategy {
}

private async syncSchools(system: System): Promise<School[]> {
const schoolDaysToFetch = this.configService.get<number>('TSP_SYNC_SCHOOL_LIMIT', 1);
const schoolDaysToFetch = this.configService.get<number>('TSP_SYNC_SCHOOL_DAYS_TO_FETCH', 1);
const tspSchools = await this.tspFetchService.fetchTspSchools(system, schoolDaysToFetch);
this.logger.info(new TspSchoolsFetchedLoggable(tspSchools.length, schoolDaysToFetch));

Expand Down

0 comments on commit 29534a2

Please sign in to comment.