Skip to content

Commit

Permalink
Add workflow run tasks status + fix description
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido committed Oct 9, 2024
1 parent 349099a commit acacae2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions schemas/webhooks/webhook_event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ webhook_event_object_status:
- review
- abandoned
- error
# workflow_runs' tasks
- started
- cancelled
- completed
# ../reports/definitions.yaml#/report_status
- awaiting_data
- awaiting_approval
Expand Down
2 changes: 1 addition & 1 deletion schemas/workflow_runs/definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ workflow_run_response:
type: object
allOf:
- $ref: "#/workflow_run_error"
description: Error object. Only set when the Workflow Run status is 'error'.
description: Error object. Only set when the Workflow Run status is error.
sdk_token:
type: string
nullable: true
Expand Down

0 comments on commit acacae2

Please sign in to comment.