Skip to content

Commit

Permalink
MasInput
Browse files Browse the repository at this point in the history
  • Loading branch information
southeo committed Jan 9, 2024
1 parent 8927c67 commit a1fbfe3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private MachineAnnotationServiceRecord mapToMasRecord(

private MasInput mapToMasInput(JSONB masInput){
try {
return masInput != null ? mapper.treeToValue(mapToJson(masInput), MasInput.class) : null;
return masInput != null ? mapper.readValue(masInput.data(), MasInput.class) : null;
} catch (JsonProcessingException e){
throw new DisscoJsonBMappingException("Failed to parse masInput to json: " + masInput.data(),
e);
Expand Down

0 comments on commit a1fbfe3

Please sign in to comment.