Skip to content

Commit 2e61f14

Browse files
committed
Fix build error
1 parent 4c427b2 commit 2e61f14

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/de/unistuttgart/iste/meitrex/assignment_service/service/uml_assignment/UmlExerciseService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public UmlExercise updateUmlExercise(final UUID assessmentId, final UpdateUmlExe
130130
}
131131

132132
if (input.getTutorSolution() != null) {
133-
entity.setTutorSolution(input.getTutorSolution());
133+
entity.setTutorSolution(umlMapper.inputToEntity(input.getTutorSolution()));
134134
}
135135

136136
if (input.getTotalPoints() != null) {

src/main/resources/graphql/service/mutation.graphqls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ input UpdateUmlExerciseInput {
138138
showSolution: Boolean
139139

140140
"""
141-
HyLiMo code for the tutor solution.
141+
Tutor solution diagram.
142142
"""
143-
tutorSolution: String
143+
tutorSolution: UmlDiagramInput
144144

145145
"""
146146
Maximum points achievable in this UML exercise.

0 commit comments

Comments
 (0)