Skip to content

Commit

Permalink
fixed syntax error in query
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonEntholzer committed Jan 5, 2025
1 parent 327857d commit eb6875e
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 eb6875e

Please sign in to comment.