Commit a3976705 by Peter Fogg

Merge pull request #8453 from edx/peter-fogg/team-api-test-fix

Fix updating immutable request dictionary.
parents 2e9759ee d74bb366
......@@ -300,7 +300,7 @@ class TeamsListView(GenericAPIView):
if course_key and not has_team_api_access(request.user, course_key):
return Response(status=status.HTTP_403_FORBIDDEN)
data = request.DATA
data = request.DATA.copy()
data['course_id'] = course_key
serializer = CourseTeamCreationSerializer(data=data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment