0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Upgraded the update-check api to v3

issue https://github.com/TryGhost/Team/issues/727
This commit is contained in:
Thibaut Patel 2021-05-31 19:43:44 +02:00
parent fa2e116474
commit 414938cfc7

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').v2;
const api = require('./api').v3;
const GhostMailer = require('./services/mail').GhostMailer;
const config = require('../shared/config');
const urlUtils = require('./../shared/url-utils');