mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
1f68d8dc20
no-issue This removes duplications and reduces maintentence going forward.
14 lines
368 B
JavaScript
14 lines
368 B
JavaScript
const postScheduling = require('./post-scheduling');
|
|
|
|
/**
|
|
* @description Initialise all scheduler modules.
|
|
*
|
|
* We currently only support post-scheduling: publish posts/pages when scheduled.
|
|
*
|
|
* @param {Object} options
|
|
* @param {string} options.apiUrl - Target Ghost API url
|
|
*/
|
|
exports.init = function init(options) {
|
|
return postScheduling.init(options);
|
|
};
|