getItemOrgId
Determines the correct orgId for an item. Note: it's undocumented, but the portal API will return orgId for items... sometimes.
Determines the correct orgId for an item. Note: it's undocumented, but the portal API will return orgId for items... sometimes.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
item Required | IItem | ||
ownerUser Optional | IUser |
item owner's hydrated user object |
Returns
any
Function defined in common/src/content/_internal/internalContentUtils.ts:662