Skip to main content

Function: requestProfileChange()

requestProfileChange(_prev, formData): Promise<RequestChangeState>

Defined in: src/server/actions/profileChangeRequest.ts:19

Contractor: submit a free-text request to change a profile field they can't self-edit (name, email, rate, etc.). Verifies the contractor session, then writes via the service client (no contractor self-write RLS) scoped to their own contractor/company. Admins review it.

Parameters​

_prev​

RequestChangeState

formData​

FormData

Returns​

Promise<RequestChangeState>