From 5cb4d090699a907e63fc63c4eb020b38b22003d1 Mon Sep 17 00:00:00 2001 From: juan Date: Wed, 27 Dec 2023 00:09:45 -0500 Subject: [PATCH] chore: use the ccx data complete for course created openedx event --- lms/djangoapps/ccx/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/ccx/views.py b/lms/djangoapps/ccx/views.py index fcbc70ec58ce..83d05765704d 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_id, + course_key=ccx, ) )