From 04bcd2eb64bd6aa845e21cd5d24b8913d095ea71 Mon Sep 17 00:00:00 2001 From: Zach Hancock Date: Tue, 10 Oct 2023 16:08:21 -0400 Subject: [PATCH] fix: end assessment launch --- edx_exams/apps/lti/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edx_exams/apps/lti/views.py b/edx_exams/apps/lti/views.py index fea0e87b..7742e0a9 100644 --- a/edx_exams/apps/lti/views.py +++ b/edx_exams/apps/lti/views.py @@ -292,7 +292,7 @@ def end_assessment(request, attempt_id): exam = attempt.exam resource_link_id = exam.resource_id - end_assessment_return = get_end_assessment_return(request.user.anonymous_user_id, resource_link_id) + end_assessment_return = get_end_assessment_return(request.user.id, resource_link_id) # If end_assessment_return was provided by the Proctoring Tool, and end_assessment was True, then the Assessment # Platform MUST send an End Assessment message to the Proctoring Tool. Otherwise, the Assessment Platform can