Skip to content
Snippets Groups Projects
Commit 103788ae authored by David Baumgold's avatar David Baumgold
Browse files

Merge pull request #579 from edx/db/course-team-role-fix

Fix for STUD-582
parents 25e98fcb 94976df8
No related merge requests found
......@@ -179,7 +179,7 @@ def course_team_user(request, org, course, name, email):
return JsonResponse()
# all other operations require the requesting user to specify a role
if request.META.get("CONTENT_TYPE", "") == "application/json" and request.body:
if request.META.get("CONTENT_TYPE", "").startswith("application/json") and request.body:
try:
payload = json.loads(request.body)
except:
......
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