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

Cleaned up some weird require paths

- these require paths go back too far. They work but it's odd!
This commit is contained in:
Hannah Wolfe 2020-05-01 11:41:56 +01:00
parent ee20efc971
commit 8383b11d84
2 changed files with 2 additions and 2 deletions

View file

@ -423,7 +423,7 @@ module.exports = function validate(object) {
debug('api version', apiVersion);
RESOURCE_CONFIG = require(`../../../frontend/services/routing/config/${apiVersion}`);
RESOURCE_CONFIG = require(`../routing/config/${apiVersion}`);
object.routes = _private.validateRoutes(object.routes);
object.collections = _private.validateCollections(object.collections);

View file

@ -1,7 +1,7 @@
const _ = require('lodash');
const debug = require('ghost-ignition').debug('services:webhooks:trigger');
const {logging} = require('../../lib/common');
const request = require('../../../server/lib/request');
const request = require('../../lib/request');
const models = require('../../models');
const payload = require('./payload');