mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Migrate the default api version from v2 to v3
issue https://github.com/TryGhost/Team/issues/221
This commit is contained in:
parent
d9a7fb0677
commit
7d4596adf6
3 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
module.exports = require('./v2');
|
||||
module.exports = require('./v3');
|
||||
module.exports.v2 = require('./v2');
|
||||
module.exports.canary = require('./canary');
|
||||
module.exports.v3 = require('./v3');
|
||||
|
|
|
@ -16,7 +16,7 @@ describe('{{next_post}} helper', function () {
|
|||
locals = {
|
||||
root: {
|
||||
_locals: {
|
||||
apiVersion: 'v2'
|
||||
apiVersion: 'v3'
|
||||
},
|
||||
context: ['post']
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ describe('{{prev_post}} helper', function () {
|
|||
locals = {
|
||||
root: {
|
||||
_locals: {
|
||||
apiVersion: 'v2'
|
||||
apiVersion: 'v3'
|
||||
},
|
||||
context: ['post']
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue