ObjectMapper fails to serialize an instance of class Object. Because of this getTeamInfo method fails with 'No serializer found for class java.lang.Object'. since it passes new Object() as a params field to the postSlackCommand method. This PR fixes this by passing an empty map instead of the object's instance.
ObjectMapper
fails to serialize an instance of classObject
. Because of thisgetTeamInfo
method fails with 'No serializer found for class java.lang.Object'. since it passesnew Object()
as aparams
field to thepostSlackCommand
method. This PR fixes this by passing an empty map instead of the object's instance.