lib/mrkt/concerns/crud_activities.rb in mrkt-1.0.0 vs lib/mrkt/concerns/crud_activities.rb in mrkt-1.0.1

- old
+ new

@@ -11,11 +11,11 @@ def get_activities(next_page_token, activity_type_ids: [], lead_ids: []) params = { nextPageToken: next_page_token } - params[:activityTypeIds] = activity_type_ids.join(',') unless blank?(activity_type_ids) - params[:leadIds] = lead_ids.join(',') unless blank?(lead_ids) + params[:activityTypeIds] = activity_type_ids unless blank?(activity_type_ids) + params[:leadIds] = lead_ids unless blank?(lead_ids) get('/rest/v1/activities.json', params) end def get_deleted_leads(next_page_token)