lib/mrkt/concerns/crud_custom_activities.rb in mrkt-0.9.0 vs lib/mrkt/concerns/crud_custom_activities.rb in mrkt-0.10.0

- old
+ new

@@ -17,11 +17,12 @@ activityDate: date, activityTypeId: activity_type_id, primaryAttributeValue: primary_attribute_value, attributes: converted_attributes }] - post('/rest/v1/activities/external.json') do |req| - json_payload(req, input: input) + + post_json('/rest/v1/activities/external.json') do + { input: input } end end private