Comparing version 0.19.5 to 0.19.6
@@ -132,4 +132,5 @@ "use strict"; | ||
debug(`[${scope.query.id}]`, this.inspect()); | ||
if (this.query.type !== ApiEdgeQueryType_1.ApiEdgeQueryType.Read) | ||
if (this.query.type !== ApiEdgeQueryType_1.ApiEdgeQueryType.Get && this.query.type !== ApiEdgeQueryType_1.ApiEdgeQueryType.List) { | ||
this.query.body = scope.body; | ||
} | ||
this.query.context = scope.context; | ||
@@ -136,0 +137,0 @@ this.query.execute().then((response) => { |
{ | ||
"name": "api-core", | ||
"version": "0.19.5", | ||
"version": "0.19.6", | ||
"description": "Model-based dynamic multi-level APIs for any provider, plus multiple consumption channels", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -162,3 +162,6 @@ import {ApiQuery, ApiQueryScope, QueryStep} from "./ApiQuery"; | ||
if(this.query.type !== ApiEdgeQueryType.Read) this.query.body = scope.body; | ||
if(this.query.type !== ApiEdgeQueryType.Get && this.query.type !== ApiEdgeQueryType.List) { | ||
this.query.body = scope.body; | ||
} | ||
this.query.context = scope.context; | ||
@@ -165,0 +168,0 @@ |
Sorry, the diff of this file is not supported yet
623934
7690