fetchDraft
Fetches the draft for a site or page if exists.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
siteOrPageId Required | string | ||
hubRequestOptions Required | IHubRequestOptions |
Returns
Promise<any>
Function defined in sites/src/drafts/fetch-draft.ts:25