Commit 242e058f by Albert St. Aubin

minor fix

parent eb5fc311
......@@ -85,7 +85,7 @@ class EntitlementEnrollmentViewSet(viewsets.GenericViewSet):
CourseEntitlement.set_enrollment(entitlement, None)
def create(self, request, uuid):
course_session_id = request.data.get('course_session_id', None)
course_session_id = request.data.get('course_run_id', None)
if not course_session_id:
return Response(
......
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