Ghost/core/server/adapters/scheduling/index.js
Naz d67ee68b0d Fixed initialization logic in post scheduler
refs e370d33378

- The initialization logic was simplified and not refactored in all placed during the refed change
2021-05-26 10:44:11 +04:00

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);
};