@cubejs-backend/api-gateway
Advanced tools
Comparing version 0.9.5 to 0.9.12
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.9.12](https://github.com/statsbotco/cubejs-client/compare/v0.9.11...v0.9.12) (2019-06-03) | ||
### Bug Fixes | ||
* **api-gateway:** Unexpected token u in JSON at position 0 at JSON.parse ([91ca994](https://github.com/statsbotco/cubejs-client/commit/91ca994)) | ||
## [0.9.5](https://github.com/statsbotco/cubejs-client/compare/v0.9.4...v0.9.5) (2019-05-22) | ||
@@ -8,0 +19,0 @@ |
@@ -233,2 +233,5 @@ const jwt = require('jsonwebtoken'); | ||
try { | ||
if (!req.query.query) { | ||
throw new UserError(`query param is required`); | ||
} | ||
const query = JSON.parse(req.query.query); | ||
@@ -277,2 +280,5 @@ this.log(req, { | ||
try { | ||
if (!req.query.query) { | ||
throw new UserError(`query param is required`); | ||
} | ||
const query = JSON.parse(req.query.query); | ||
@@ -279,0 +285,0 @@ const normalizedQuery = normalizeQuery(query); |
@@ -5,3 +5,3 @@ { | ||
"author": "Statsbot, Inc.", | ||
"version": "0.9.5", | ||
"version": "0.9.12", | ||
"engines": { | ||
@@ -28,3 +28,3 @@ "node": ">=8.11.1" | ||
"license": "Apache-2.0", | ||
"gitHead": "d78641424cd01fc57b6ea226011c307c3129c9e5" | ||
"gitHead": "2b55e74ce020c3e9d6e0396e6d9b1973c2966d03" | ||
} |
31246
427