Skip to main content

Function: approveAndSend()

approveAndSend(_prev, formData): Promise<RecruitingState>

Defined in: src/server/actions/recruiting.ts:1001

Approve a drafted candidate email and send it through the email seam, flipping the draft to its terminal status. This is the only path that actually sends — the cadence runner only ever drafts. Marks the linked follow-up task done.

Parameters

_prev

RecruitingState

formData

FormData

Returns

Promise<RecruitingState>