diff --git a/app/api/routers/calendar.py b/app/api/routers/calendar.py index 556cbf6..2afa97d 100644 --- a/app/api/routers/calendar.py +++ b/app/api/routers/calendar.py @@ -299,8 +299,9 @@ def _apply_agent_slot_update(slot: TimeSlot, payload: SlotAgentUpdate) -> None: slot.attended = True -@router.get( +@router.api_route( "/agent/heartbeat", + methods=["GET", "POST"], response_model=AgentHeartbeatResponse, summary="Get all due slots for the calling agent", )