Skip to main content

Function: updateContractorProfile()

updateContractorProfile(_prev, formData): Promise<ProfileState>

Defined in: src/server/actions/contractorProfile.ts:21

Contractor updates their own contact + payout details. Writes go through the service client (per ADR-0004 / 0009 — no contractor self-update RLS) but only touch an explicit field allowlist; name, email, rate, status, and assignment remain admin-controlled.

Parameters

_prev

ProfileState

formData

FormData

Returns

Promise<ProfileState>