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