mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 07:51:55 +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'));
|
||
|
};
|