const { getDoctor, loginDoctorByPhone } = require('../controllers/doctorController'); module.exports = [ { method: 'GET', path: '/api/doctors/{userId}/{contactId}', options: { description: 'Resolve TGICS enrolled doctor via Rapport contact (legacy deep link)', }, handler: getDoctor, }, { method: 'POST', path: '/api/doctors/{userId}/login', options: { description: 'Resolve TGICS enrolled doctor by WhatsApp phone for a common MR link', }, handler: loginDoctorByPhone, }, ];