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:
parent
ee20efc971
commit
8383b11d84
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue