From ff3e0fe8ad33e15116e77749383c293d52bc74a6 Mon Sep 17 00:00:00 2001 From: Blackchai Date: Mon, 24 Aug 2020 10:27:52 -0600 Subject: [PATCH] [Student][MBL-14645] Fix for quizzes 2 lti (#951) --- .../main/java/com/instructure/canvasapi2/apis/AssignmentAPI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/canvas-api-2/src/main/java/com/instructure/canvasapi2/apis/AssignmentAPI.kt b/libs/canvas-api-2/src/main/java/com/instructure/canvasapi2/apis/AssignmentAPI.kt index 148a1827b4..769a536bdb 100644 --- a/libs/canvas-api-2/src/main/java/com/instructure/canvasapi2/apis/AssignmentAPI.kt +++ b/libs/canvas-api-2/src/main/java/com/instructure/canvasapi2/apis/AssignmentAPI.kt @@ -29,7 +29,7 @@ import retrofit2.http.* object AssignmentAPI { internal interface AssignmentInterface { @GET("courses/{courseId}/external_tools/sessionless_launch") - fun getExternalToolLaunchUrl(@Path("courseId") courseId: Long, @Query("id") externalToolId: Long, @Query("assignment_id") assignmentId: Long): Call + fun getExternalToolLaunchUrl(@Path("courseId") courseId: Long, @Query("id") externalToolId: Long, @Query("assignment_id") assignmentId: Long, @Query("launch_type") launchType: String = "assessment"): Call @GET("courses/{courseId}/assignments/{assignmentId}?include[]=submission&include[]=rubric_assessment&needs_grading_count_by_section=true&override_assignment_dates=true&all_dates=true&include[]=overrides") fun getAssignment(@Path("courseId") courseId: Long, @Path("assignmentId") assignmentId: Long): Call