diff --git a/lms/djangoapps/ccx/views.py b/lms/djangoapps/ccx/views.py index 83d05765704d..fcbc70ec58ce 100644 --- a/lms/djangoapps/ccx/views.py +++ b/lms/djangoapps/ccx/views.py @@ -308,7 +308,7 @@ def create_ccx(request, course, ccx=None): COURSE_CREATED.send_event( time=datetime.datetime.now(tz=timezone.utc), course=CourseData( - course_key=ccx, + course_key=ccx_id, ) )