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

ENT-496 Set consent_granted to None when calling enterprise-course-enrollment endpoint
This commit is contained in:
Brittney Exline
2017-09-05 14:34:44 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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