Skip to content

Commit

Permalink
Removed *_values from reactAggregate
Browse files Browse the repository at this point in the history
  • Loading branch information
lancegliser committed Jul 8, 2024
1 parent c9a625a commit b18c5eb
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/client/wasm/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -719,12 +719,11 @@ export class WasmClient extends BaseClient implements ITraineeClient, ISessionCl
public async reactAggregate(traineeId: string, request: ReactAggregateRequest): Promise<ReactAggregateResponse> {
const trainee = await this.autoResolveTrainee(traineeId);
this.preprocessReactRequest(trainee, request);
const { actions, contexts, ...rest } = ReactAggregateRequestToJSON(request);
const { warnings = [], content } = await this.execute<ReactAggregateResponseContent>(traineeId, "react_aggregate", {
action_values: actions,
context_values: contexts,
...rest,
});
const { warnings = [], content } = await this.execute<ReactAggregateResponseContent>(
traineeId,
"react_aggregate",
ReactAggregateRequestToJSON(request),
);
return ReactAggregateResponseFromJSON({ warnings, content });
}

Expand Down

0 comments on commit b18c5eb

Please sign in to comment.