Skip to content
Snippets Groups Projects
Verified Commit a26d0a1a authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Set comment of absence as default in AbsenceCreation

parent ef86a535
No related branches found
No related tags found
1 merge request!356Add dialog for creation of long-term absences
Pipeline #191510 failed
...@@ -36,7 +36,7 @@ class AbsencesForPersonsCreateMutation(graphene.Mutation): ...@@ -36,7 +36,7 @@ class AbsencesForPersonsCreateMutation(graphene.Mutation):
date_end=end, date_end=end,
reason_id=reason, reason_id=reason,
person=person, person=person,
comment=comment, defaults={"comment": comment},
) )
events = ParticipationStatus.get_single_events( events = ParticipationStatus.get_single_events(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment