lib/supersaas-api-client/api/appointments.rb in supersaas-api-client-2.0.2 vs lib/supersaas-api-client/api/appointments.rb in supersaas-api-client-2.0.3

- old
+ new

@@ -132,11 +132,11 @@ def range(schedule_id, today = false, from_time = nil, to = nil, slot = false, user = nil, resource_id = nil, service_id = nil, limit = nil, offset = nil) path = "/range/#{validate_id(schedule_id)}" params = {} - params.merge!(today: true) if today params = build_param(params, from_time, to, slot, user, limit, offset, resource_id, service_id) + params.merge!(today: true) if today res = client.get(path, params) map_slots_or_bookings(res) end private