Skip to main content

Function: moveApplicationStage()

moveApplicationStage(_prev, formData): Promise<RecruitingState>

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

Move an open application to another stage. The DB enforces the PRC + consent gates (a raise becomes a Postgres error here), so we surface a friendly message rather than leak the raw exception.

Parameters

_prev

RecruitingState

formData

FormData

Returns

Promise<RecruitingState>