mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ async function initServices({config}) {
|
||||||
scheduling.init({
|
scheduling.init({
|
||||||
// NOTE: When changing API version need to consider how to migrate custom scheduling adapters
|
// 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
|
// 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');
|
debug('End: Services');
|
||||||
|
|
Loading…
Add table
Reference in a new issue