mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 14:22:07 +03:00
d67ee68b0d
refs e370d33378
- The initialization logic was simplified and not refactored in all placed during the refed change
14 lines
363 B
JavaScript
14 lines
363 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(options);
|
|
};
|