diff --git a/OneBlink.SDK/FormsClient.cs b/OneBlink.SDK/FormsClient.cs index 05d7338..4ecba5a 100644 --- a/OneBlink.SDK/FormsClient.cs +++ b/OneBlink.SDK/FormsClient.cs @@ -329,14 +329,14 @@ internal FormSubmissionEvent submissionEvent } } - public async Task ExecuteWorkflowEvent(long formId, Guid submissionId, FormSubmissionEvent submissionEvent) + public async Task ExecuteWorkflowEvent(long formId, Guid submissionId, FormSubmissionEvent workflowEvent) { string url = "/form-submission-meta/replay-submission-event"; return await this.oneBlinkApiClient.PostRequest(url, new ExecuteWorkflowEventRequest() { submissionId = submissionId, formId = formId, - submissionEvent = submissionEvent + submissionEvent = workflowEvent }); } diff --git a/docs/forms-client.md b/docs/forms-client.md index e41c822..2dbcf9c 100644 --- a/docs/forms-client.md +++ b/docs/forms-client.md @@ -684,11 +684,11 @@ FormSubmissionWorkflowEvent formSubmissionWorkflowEvent = await formsClient.Exec ### Parameters -| Parameter | Required | Type | Description | -| --------------------- | -------- | ------------------- | ----------------------------------------------------------------------- | -| `formId` | Yes | long | The exact id of the form. | -| `submissionId` | Yes | Guid | The submission identifier generated after a successful form submission. | -| `formSubmissionEvent` | Yes | FormSubmissionEvent | The form workflow event to be executed. | +| Parameter | Required | Type | Description | +| --------------- | -------- | ------------------- | ----------------------------------------------------------------------- | +| `formId` | Yes | long | The exact id of the form. | +| `submissionId` | Yes | Guid | The submission identifier generated after a successful form submission. | +| `workflowEvent` | Yes | FormSubmissionEvent | The form workflow event to be executed. | ### Throws