Skip to content

Commit

Permalink
fixed a format and added DTO on the both places
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-jy committed Sep 22, 2023
1 parent 519e81e commit 6f0d356
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/connection/result/result.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function Result(options) {
this._statement,
this._services);

this.getQueryContext = function() {
this.getQueryContext = function () {
return this._queryContext;
}

Expand Down
4 changes: 4 additions & 0 deletions lib/connection/statement.js
Original file line number Diff line number Diff line change
Expand Up @@ -1403,6 +1403,10 @@ this.sendRequest = function (statementContext, onResultAvailable)
json.isInternal = statementContext.internal;
}

if(!statementContext.disableQueryContextCache){
json.queryContextDTO = statementContext.services.sf.getQueryContextDTO();
}

var options =
{
method: 'POST',
Expand Down

0 comments on commit 6f0d356

Please sign in to comment.