Skip to content

Commit

Permalink
Fixed Bug: Target value datatype doesn't match the type option provided
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Boinapalli <[email protected]>
  • Loading branch information
vishalboin committed Aug 5, 2023
1 parent 5e3765b commit ff1e910
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private String getSourceValue(Object recordObject, String sourceKey) {
}

private Object getTargetValue(Object sourceObject, List<Object> targetValues, TargetsParameterConfig targetConfig) {
TypeConverter converter = targetConfig.getConverter();
TypeConverter converter = targetConfig.getTargetType().getTargetConverter();
if(sourceObject instanceof String) {
return converter.convert(targetValues.get(0));
}
Expand Down

0 comments on commit ff1e910

Please sign in to comment.