|
|
@ -23,7 +23,6 @@ function setup( apiConfig, esclient, query, should_execute ){ |
|
|
|
logger.info('[req]', `endpoint=${req.path}`, cleanOutput); |
|
|
|
logger.info('[req]', `endpoint=${req.path}`, cleanOutput); |
|
|
|
|
|
|
|
|
|
|
|
const renderedQuery = query(req.clean, res); |
|
|
|
const renderedQuery = query(req.clean, res); |
|
|
|
// console.log(JSON.stringify(renderedQuery.body, null, 2));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// if there's no query to call ES with, skip the service
|
|
|
|
// if there's no query to call ES with, skip the service
|
|
|
|
if (_.isUndefined(renderedQuery)) { |
|
|
|
if (_.isUndefined(renderedQuery)) { |
|
|
|