From 0f2c586659909cd317957c0e23d9f4bd4221e10a Mon Sep 17 00:00:00 2001 From: Thibaut Patel Date: Mon, 31 May 2021 21:50:17 +0200 Subject: [PATCH] Revert "Upgraded the update-check api to v4" commit https://github.com/TryGhost/Ghost/commit/414938cfc7395d49ec64ce0837a2f1ee7d57711b - This reverts commit 414938cfc7395d49ec64ce0837a2f1ee7d57711b. - The tests fails so I'll wait for Naz to finish the ongoing update-check tests refactoring before upgrading the api version again --- core/server/update-check.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/server/update-check.js b/core/server/update-check.js index d46fb8e430..84dbcef22a 100644 --- a/core/server/update-check.js +++ b/core/server/update-check.js @@ -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');