mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
13 lines
330 B
JavaScript
13 lines
330 B
JavaScript
|
var _ = require('lodash'),
|
||
|
postScheduling = require(__dirname + '/post-scheduling');
|
||
|
|
||
|
/**
|
||
|
* scheduling modules:
|
||
|
* - post scheduling: publish posts/pages when scheduled
|
||
|
*/
|
||
|
exports.init = function init(options) {
|
||
|
options = options || {};
|
||
|
|
||
|
return postScheduling.init(_.pick(options, 'postScheduling', 'apiUrl'));
|
||
|
};
|