Revert "Upgraded the update-check api to v4"

commit 414938cfc7

- This reverts commit 414938cfc7.
- The tests fails so I'll wait for Naz to finish the ongoing update-check tests refactoring before upgrading the api version again
This commit is contained in:
Thibaut Patel 2021-05-31 21:50:17 +02:00
parent 414938cfc7
commit 0f2c586659

View File

@ -15,7 +15,7 @@ const Promise = require('bluebird');
const _ = require('lodash');
const url = require('url');
const debug = require('ghost-ignition').debug('update-check');
const api = require('./api').v3;
const api = require('./api').v2;
const GhostMailer = require('./services/mail').GhostMailer;
const config = require('../shared/config');
const urlUtils = require('./../shared/url-utils');