Skip to main content

Function: listHubstaffMembersForOrg()

listHubstaffMembersForOrg(orgId): Promise<HubstaffMembersState>

Defined in: src/server/actions/hubstaff.ts:80

Owner-only: list the Hubstaff org's members (id + name + email) so each can be mapped to a contractor (the hubstaff_member_id field on the contractor page). The unmapped-member skip in the pull is the usual reason hours don't import.

Parameters

orgId

string

Returns

Promise<HubstaffMembersState>