Skip to content

Commit

Permalink
refactor: sim result activities property change (#2)
Browse files Browse the repository at this point in the history
- Use arguments instead of parameters
  • Loading branch information
camargo authored Feb 1, 2022
1 parent db1b633 commit 7fd09f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utilities/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ export type SimulateResponse = {
results?: {
activities: {
[id: string]: {
arguments: ArgumentsMap;
children: string[];
duration: number;
parameters: ArgumentsMap;
parent: string | null;
startTimestamp: string;
type: string;
Expand Down Expand Up @@ -1091,7 +1091,7 @@ export async function reqSimulate(
).reduce((activitiesMap: ActivitiesMap, id: string) => {
const activity = results.activities[id];
activitiesMap[id] = {
arguments: activity.parameters,
arguments: activity.arguments,
children: activity.children,
duration: activity.duration,
id,
Expand Down

0 comments on commit 7fd09f7

Please sign in to comment.