✨ Include class in history api response
This commit is contained in:
@ -231,6 +231,7 @@ export async function getHistory(req, res) {
|
||||
return {
|
||||
id: element.id,
|
||||
type: element.type,
|
||||
class: element.substitution.class,
|
||||
substitutionId: element.substitutionId,
|
||||
lesson: element.substitution.lesson,
|
||||
updatedAt: new Date(element.createdAt).getTime(),
|
||||
|
Reference in New Issue
Block a user