Commit 89a7eb7e by Brittney Exline Committed by GitHub

Merge pull request #15950 from edx/bexline/ENT-496_follow_up

ENT-496 Set consent_granted to None when calling enterprise-course-enrollment endpoint
parents 92d9327b ba597331
......@@ -603,7 +603,7 @@ class EnrollmentListView(APIView, ApiKeyPermissionMixIn):
# We received an explicitly-linked EnterpriseCustomer for the enrollment
if explicit_linked_enterprise is not None:
try:
enterprise_api_client.post_enterprise_course_enrollment(username, unicode(course_id), True)
enterprise_api_client.post_enterprise_course_enrollment(username, unicode(course_id), None)
except EnterpriseApiException as error:
log.exception("An unexpected error occurred while creating the new EnterpriseCourseEnrollment "
"for user [%s] in course run [%s]", username, course_id)
......
......@@ -48,7 +48,7 @@ edx-lint==0.4.3
astroid==1.3.8
edx-django-oauth2-provider==1.1.4
edx-django-sites-extensions==2.3.0
edx-enterprise==0.42.0
edx-enterprise==0.43.1
edx-oauth2-provider==1.2.0
edx-opaque-keys==0.4.0
edx-organizations==0.4.6
......
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