app/controllers/medivo/labs_controller.rb in medivo-0.2.17 vs app/controllers/medivo/labs_controller.rb in medivo-0.2.18
- old
+ new
@@ -6,10 +6,10 @@
render :json=> lab_data
end
def find_appointment
data = Medivo::Appointment.find(params[:lab_code], params[:date], params[:am_pm])
- render :json=> data
+ render :json=> {times: data}
rescue => e
appointment_error_handler(e)
end
def make_appointment