Skip to content

Commit

Permalink
[Search Sessions] Add searchSessionId to Vega's inspector (#88839)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant authored Jan 21, 2021
1 parent ab1d97e commit 05fcdd8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/vis_type_vega/public/data_model/search_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ export class SearchAPI {
});

if (this.inspectorAdapters) {
requestResponders[requestId] = this.inspectorAdapters.requests.start(requestId, request);
requestResponders[requestId] = this.inspectorAdapters.requests.start(requestId, {
...request,
searchSessionId: this.searchSessionId,
});
requestResponders[requestId].json(params.body);
}

Expand Down

0 comments on commit 05fcdd8

Please sign in to comment.