0
Fork 0
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:
Thibaut Patel 2021-02-03 15:02:51 +01:00
parent d9a7fb0677
commit 7d4596adf6
3 changed files with 3 additions and 3 deletions

View file

@ -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');

View file

@ -16,7 +16,7 @@ describe('{{next_post}} helper', function () {
locals = {
root: {
_locals: {
apiVersion: 'v2'
apiVersion: 'v3'
},
context: ['post']
}

View file

@ -13,7 +13,7 @@ describe('{{prev_post}} helper', function () {
locals = {
root: {
_locals: {
apiVersion: 'v2'
apiVersion: 'v3'
},
context: ['post']
}