Skip to content

Commit

Permalink
fix exercise Id check
Browse files Browse the repository at this point in the history
  • Loading branch information
raffifasaro committed Jan 3, 2025
1 parent 1812260 commit 3b802f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public ResponseEntity<String> lti13DeepLinking(@PathVariable Long courseId, @Req

String targetLink = "";

if (!exerciseIds.isEmpty()) {
if (exerciseIds != null) {
targetLink = ltiDeepLinkingService.performExerciseDeepLinking(idToken, clientRegistrationId, courseId, exerciseIds);
}
else if (competency) {
Expand Down

0 comments on commit 3b802f8

Please sign in to comment.