Skip to content

Commit

Permalink
fix: add activeUntil date mapping to tps
Browse files Browse the repository at this point in the history
  • Loading branch information
jakerenzella committed May 9, 2023
1 parent 7a0f749 commit 2cae20a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/api/services/teaching-period.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ export class TeachingPeriodService extends CachedEntityService<TeachingPeriod> {
toEntityFn: MappingFunctions.mapDateToDay,
toJsonFn: MappingFunctions.mapDayToJson,
},
'activeUntil',
{
keys: 'activeUntil',
toEntityFn: MappingFunctions.mapDateToDay,
toJsonFn: MappingFunctions.mapDayToJson,
},
'active',
{
keys: 'breaks',
Expand Down

0 comments on commit 2cae20a

Please sign in to comment.