Skip to content

Commit

Permalink
🚧 Begin work on returning education info.
Browse files Browse the repository at this point in the history
  • Loading branch information
klondikemarlen committed Aug 10, 2023
1 parent 2478694 commit 24ff7ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/api/serializers/applications-serializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export default class ApplicationsSerializer {
this.#application,
this.#application.student?.residences || ([] as Residence[])
),
education: this.#educationAssociation(),
// TODO: investigate if I need a "parents" field
}
}
Expand Down Expand Up @@ -250,4 +251,11 @@ export default class ApplicationsSerializer {
lastReturnDate,
}
}

#educationAssociation() {
// TODO: replace with real data
return {
educationHistory: [{ leftHighSchool: "2023/02", school: 310 }],
}
}
}

0 comments on commit 24ff7ba

Please sign in to comment.