Comparing version 0.8.1 to 0.8.2
@@ -18,2 +18,5 @@ /** | ||
const { body, statusCode } = await request(container)[method](buildedUrl); | ||
if (typeof body !== 'object' && !path) { | ||
return merge(cloneDeep(container), { statusCode }); | ||
} | ||
if (path) { | ||
@@ -20,0 +23,0 @@ return merge(cloneDeep(container), { statusCode, body: set({}, path, body) }); |
{ | ||
"name": "nodegate", | ||
"description": "API gateway made simple, fast and easy to configure.", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"author": "Julien Martin <martin.julien82@gmail.com>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
18796
460