|
@@ -96,7 +96,7 @@ export default {
|
|
|
}
|
|
|
const confirmAppointment = () => {
|
|
|
if (Cookies.get('appointmentDeptCode') !== '1260000') {
|
|
|
- hasValidCovidAssessment(data.appointment.patientId).then((res) => {
|
|
|
+ hasValidCovidAssessment(data.appointment.patientId, Cookies.get('appointmentDeptCode')).then((res) => {
|
|
|
if (res === 'no valid assessment') {
|
|
|
router.push('/assessments/covid/' + data.appointment.patientId)
|
|
|
} else {
|