app/controllers/medivo/labs_controller.rb in medivo-0.2.10 vs app/controllers/medivo/labs_controller.rb in medivo-0.2.11
- old
+ new
@@ -12,10 +12,10 @@
rescue => e
appointment_error_handler(e)
end
def make_appointment
- data = Medivo::Appointment.make(params[:lab_code], params[:time_id], params[:user])
+ data = Medivo::Appointment.make(params[:lab_code], params[:time], params[:user])
render :json=> data
rescue Exception => e
appointment_error_handler(e)
end