diff --git a/src/client/staking-client.ts b/src/client/staking-client.ts index 2ccb7b2..e304b39 100644 --- a/src/client/staking-client.ts +++ b/src/client/staking-client.ts @@ -214,8 +214,7 @@ export class StakingClient { stepIndex: number, data: string, ): Promise { - const name: string = `${parent}/${workflowName}`; - const path: string = `/v1/${name}/step`; + const path: string = `/v1/${workflowName}/step`; const method: string = 'POST'; const url: string = this.baseURL + '/orchestration'; @@ -230,7 +229,7 @@ export class StakingClient { ); const req: PerformWorkflowStepRequest = { - name: name, + name: workflowName, step: stepIndex, data, };