🐛 Fix missing data on deletion event
This commit is contained in:
@ -197,7 +197,18 @@ export class Parser {
|
||||
data: {
|
||||
substitutionId: remainingSubstitution.id,
|
||||
type: "deletion",
|
||||
changes: {},
|
||||
changes: {
|
||||
class: remainingSubstitution.class,
|
||||
type: remainingSubstitution.type,
|
||||
lesson: remainingSubstitution.lesson,
|
||||
date: remainingSubstitution.date.getTime(),
|
||||
notes: remainingSubstitution.notes,
|
||||
change: {
|
||||
teacher: remainingSubstitution.changedTeacher,
|
||||
room: remainingSubstitution.changedRoom,
|
||||
subject: remainingSubstitution.changedSubject,
|
||||
},
|
||||
},
|
||||
parseEventId: parseEvent.id,
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user