lib/supersaas-api-client/api/appointments.rb in supersaas-api-client-2.0.0 vs lib/supersaas-api-client/api/appointments.rb in supersaas-api-client-2.0.1
- old
+ new
@@ -81,9 +81,10 @@
super_field: attributes[:super_field],
resource_id: attributes[:resource_id],
slot_id: attributes[:slot_id]
}
}
+ params[:booking].compact!
client.post(path, params)
end
def update(schedule_id, appointment_id, attributes, form = nil, webhook = nil)
path = "/bookings/#{validate_id(appointment_id)}"