diff --git a/lms/djangoapps/courseware/views/views.py b/lms/djangoapps/courseware/views/views.py index f482988ccf6e..16c9b2fcfbbc 100644 --- a/lms/djangoapps/courseware/views/views.py +++ b/lms/djangoapps/courseware/views/views.py @@ -1518,7 +1518,4 @@ def financial_assistance_form(request): def end_course(request): - response = generate_certificate_for_user(request) - if response.status_code == 200: - return redirect(reverse("dashboard")) - return response + return redirect(reverse("dashboard"))