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

Fix variable name

parent b338b690
No related branches found
No related tags found
1 merge request!24Resolve "Adapt to refactored CRUD lists"
Pipeline #172147 failed
......@@ -190,8 +190,8 @@ class CreateSchoolClassMutation(DjangoBatchCreateMutation):
group_type, __ = GroupType.objects.managed_by_app(app_label).get_or_create(
name="School class", managed_by_app_label=app_label
)
for schoolClass in input:
schoolClass["group_type"] = group_type.pk
for school_class in input:
school_class["group_type"] = group_type.pk
return input
......
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