Skip to content

Commit bdd2d50

Browse files
updated response json key
1 parent 54ac595 commit bdd2d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder-api/src/main/java/org/acme/controller/DecisionResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public Response evaluateCheck(
206206
EvaluationResult evaluationResult = dmnService.evaluateDmn(
207207
dmnFilepath, request.checkConfig.getCheckName(), request.inputData, request.checkConfig.getParameters()
208208
);
209-
return Response.ok().entity(Map.of("evaluationResult", evaluationResult)).build();
209+
return Response.ok().entity(Map.of("result", evaluationResult)).build();
210210
} catch (Exception e) {
211211
Log.error("Error: " + e.getMessage());
212212
return Response.status(Response.Status.INTERNAL_SERVER_ERROR).build();

0 commit comments

Comments
 (0)