Repalced deprecated emthod with the new one
This commit is contained in:
parent
fc57547e4c
commit
d4dc4a3f40
|
@ -100,7 +100,7 @@ public class QueryTemplateImpl extends EntityElementImpl implements QueryTemplat
|
|||
for(TemplateVariable tv : templateVariables.values()) {
|
||||
Object defaultValue = tv.getDefaultValue();
|
||||
JsonNode jsonNode = ElementMapper.getObjectMapper().valueToTree(defaultValue);
|
||||
objectNode.put(tv.getName(), jsonNode);
|
||||
objectNode.set(tv.getName(), jsonNode);
|
||||
|
||||
// if(defaultValue instanceof Integer) {
|
||||
// objectNode.put(tv.getName(), (Integer) defaultValue);
|
||||
|
|
Loading…
Reference in New Issue