Skip to content

Commit

Permalink
Update app/api/getAbsences/route.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Chinemerem <[email protected]>
  • Loading branch information
ludavidca and ChinemeremChigbo authored Nov 20, 2024
1 parent 31a7697 commit 47ac29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/getAbsences/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function GET() {
];
}
if (absence?.substituteTeacher) {
var substituteTeacherString = ` (${absence.substituteTeacher?.firstName} ${absence.substituteTeacher?.lastName[0]})`;
var substituteTeacherString = `(${absence.substituteTeacher?.firstName} ${absence.substituteTeacher?.lastName[0]})`;
} else {
var substituteTeacherString = '';
}
Expand Down

0 comments on commit 47ac29d

Please sign in to comment.