mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 11:22:19 +03:00
Bumped scheduler to use v4 API
refs https://github.com/TryGhost/Team/issues/513 - The bump does not effect scheduled post as URL with authentication token is generated during runtime for DefaultScheduler. - This needs to be checked for SchedulerAdapter implementations which use persistant storage
This commit is contained in:
parent
9fab028621
commit
476d4389c6
@ -170,7 +170,7 @@ async function initServices({config}) {
|
||||
scheduling.init({
|
||||
// NOTE: When changing API version need to consider how to migrate custom scheduling adapters
|
||||
// that rely on URL to lookup persisted scheduled records (jobs, etc.). Ref: https://github.com/TryGhost/Ghost/pull/10726#issuecomment-489557162
|
||||
apiUrl: urlUtils.urlFor('api', {version: 'v3', versionType: 'admin'}, true)
|
||||
apiUrl: urlUtils.urlFor('api', {version: 'v4', versionType: 'admin'}, true)
|
||||
})
|
||||
]);
|
||||
debug('End: Services');
|
||||
|
Loading…
Reference in New Issue
Block a user