Closed BekahT closed 4 years ago
Error message when editing an appointment to have the same date/time as an existing appointment.
Error message should be more descriptive and match what it is in create appointment - "Appointment date/time is already taken!"
The insert appointment catch for errors has an if to return the duplicate error when a certain error is returned and the generic unable to create otherwise. The edit appointment catch didn't have the if statement for the dup error, so I added that.
Staff can edit an existing appointment’s reason, date, or time.