Skip to content

Commit

Permalink
Development: Fix syntax error in query in IrisExerciseSettingsReposit…
Browse files Browse the repository at this point in the history
…ory (#10104)
  • Loading branch information
SimonEntholzer authored Jan 5, 2025
1 parent 327857d commit 6b6e23e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
public interface IrisExerciseSettingsRepository extends ArtemisJpaRepository<IrisExerciseSettings, Long> {

@Query("""
SELECT EXISTS(s)
SELECT COUNT(s) > 0
FROM IrisExerciseSettings s
WHERE s.exercise.id = :exerciseId
AND s.irisTextExerciseChatSettings.enabled = TRUE
Expand Down

0 comments on commit 6b6e23e

Please sign in to comment.