mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Switched scheduler to use API v3 (#11391)
no issue - The switch is needed so that mailinglist work when posts are scheduled - v3 API is the default stable API that should be preferably used by all clients (including Scheduler)
This commit is contained in:
parent
1d89bbc852
commit
d325912a55
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ function initialiseServices() {
|
|||
active: config.get('scheduling').active,
|
||||
// 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: 'v2', versionType: 'admin'}, true),
|
||||
apiUrl: urlUtils.urlFor('api', {version: 'v3', versionType: 'admin'}, true),
|
||||
internalPath: config.get('paths').internalSchedulingPath,
|
||||
contentPath: config.getContentPath('scheduling')
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue