addSiteDomains

Function

Given a Site Model, register the domains with the Domain Service.

This should only be used when creating a site. To update domains related to a site, use the addDomain and removeDomain functions directly

Parameters

Parameter Type Default Notes
model Required IModel

site model

hubRequestOptions Required IHubRequestOptions

Returns

Promise<any[]>

Function defined in common/src/sites/domains/addSiteDomains.ts:12