maybeUpdateSchedule
Checks if the content schedule should be updated and updates it if necessary
Checks if the content schedule should be updated and updates it if necessary
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| content Required | IHubEditableContent |
The content to check and update the schedule for (should include any new schedule information) |
|
| requestOptions Required | IUserRequestOptions |
The request options needed to get the HubApiUrl |
Available requestOptions
| Property | Type | Notes |
|---|
Returns
| Property | Type | Notes |
|---|---|---|
| string | ||
| Optional | string | |
| Optional | IHubSchedule | |
| Optional | number |
Function defined in packages/common/src/content/manageSchedule.ts:124