Ghost/core/server/adapters/scheduling/SchedulingBase.js
Rish b122b683f4 🏗 Removed reschedule method from scheduling adapter
no issue

We changed `reschedule` event to trigger adapter's `unschedule` and  `schedule` methods since we now generate separate tokens(urls) for consistency as two different url(token) is needed to complete the reschedule functionality.
2019-11-27 13:38:30 +05:30

9 lines
195 B
JavaScript

function SchedulingBase() {
Object.defineProperty(this, 'requiredFns', {
value: ['schedule', 'unschedule', 'run'],
writable: false
});
}
module.exports = SchedulingBase;