feat: version 4.9.0 -- Agenda medica: clic en dia abre cita, autor fijo y borrado logico
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -39,6 +39,7 @@ get('/appointments', (q, s) => clinic.appointments(q, s));
|
||||
write('post', '/appointments', (body, user, staff) => clinic.saveAppointment(body, user, staff));
|
||||
write('put', '/appointments/:id', (body, user, staff, n) => clinic.saveAppointment(body, user, staff, n));
|
||||
write('post', '/appointments/:id/cancel', (body, user, staff, n) => clinic.changeStatus(n, body, user, staff, true));
|
||||
write('post', '/appointments/:id/delete', (body, user, staff, n) => clinic.deleteAppointment(n, body, user, staff));
|
||||
write('post', '/appointments/:id/status', (body, user, staff, n) => clinic.changeStatus(n, body, user, staff));
|
||||
get('/blocks', (q, s) => clinic.blocks(q, s));
|
||||
write('post', '/blocks', (body, user, staff) => clinic.saveBlock(body, user, staff));
|
||||
|
||||
Reference in New Issue
Block a user