ensureUniqueDomainName

Function

Given a subdomain, ensure that we have a unique hostname incrementing if needed

  • ensureUniqueDomainName(subdomain: string, hubRequestOptions: IHubRequestOptions) : Promise<string>

Parameters

Parameter Type Default Notes
subdomain Required string

Subdomain to unique-ify

hubRequestOptions Required IHubRequestOptions

Returns

Promise<string>

Function defined in common/src/sites/domains/ensure-unique-domain-name.ts:14