Skip to content

Commit

Permalink
Fix workflow_run_status and resource type in webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido committed Aug 23, 2024
1 parent f673c1f commit c21179a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
3 changes: 3 additions & 0 deletions schemas/webhooks/webhook_event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ properties:
resource_type:
type: string
enum:
- check
- report
- audit_log
- workflow_run
- workflow_task
description: Indicates the resource affected by this event.
Expand Down
19 changes: 9 additions & 10 deletions schemas/workflow_runs/definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,15 @@ workflow_run_link:
description: The code for the language when the workflow run is acessed using the link.

workflow_run_status:
properties:
type: string
enum:
- awaiting_input
- processing
- abandoned
- error
- approved
- review
- declined
type: string
enum:
- awaiting_input
- processing
- abandoned
- error
- approved
- review
- declined

workflow_run_error:
type: object
Expand Down

0 comments on commit c21179a

Please sign in to comment.