Skip to content
Snippets Groups Projects
Commit e9f8e9ed authored by Julian's avatar Julian Committed by permcu
Browse files

Update newly created documentations as well

parent 726e20f2
Branches
Tags
1 merge request!356Add dialog for creation of long-term absences
......@@ -98,7 +98,7 @@ class DocumentationBatchCreateOrUpdateMutation(graphene.Mutation):
# Sadly, we can't use the update_or_create method since create_defaults
# is only introduced in Django 5.0
if _id.startswith("DUMMY"):
return Documentation.create_from_lesson_event(
obj = Documentation.create_from_lesson_event(
info.context.user,
*Documentation.parse_dummy(_id),
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment