0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Changed update check's API version to use default one

refs https://github.com/TryGhost/Team/issues/727

- The version was forgotten to get a bump durin g 4.0 release. The API version used by update check should be the same as internal default.
- Because the current internal default is mistakenly set to v3 API it's still not optimal but will need a holistic solution in the future
This commit is contained in:
Naz 2021-07-02 19:00:33 +04:00
parent 4c551fcde6
commit 703827b4c2

View file

@ -1,6 +1,6 @@
const _ = require('lodash');
const api = require('./api').v2;
const api = require('./api');
const GhostMailer = require('./services/mail').GhostMailer;
const config = require('../shared/config');
const urlUtils = require('./../shared/url-utils');