Commit d66bbbb4 by Saleem Latif

Create enrollment codes by default for course publication to ecommerce.

parent a2b00507
......@@ -88,7 +88,6 @@ class CourseRunViewSet(viewsets.GenericViewSet):
'uuid': str(discovery_course.uuid),
'name': course_run.title_override or course_run.course.title,
'verification_deadline': serialize_datetime(course_run.end),
'create_or_activate_enrollment_code': False,
}
# NOTE: We only order here to aid testing. The E-Commerce API does NOT care about ordering.
......
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