Commit b5eb2daa authored by Matija Obreza's avatar Matija Obreza
Browse files

Call the right method to get string from JSON tree

parent be15d52e
......@@ -100,7 +100,7 @@ public class EasySMTAConnector implements EasySMTA {
// TODO Report various errorCodes!
} else {
return objectMapper.readValue(tree.asText(), EasySMTA.EasySMTAUserData.class);
return objectMapper.readValue(tree.toString(), EasySMTA.EasySMTAUserData.class);
} catch (final ClientProtocolException e) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment