Skip to content

Commit

Permalink
fix: add missing type in courier channel config schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Jan 3, 2024
1 parent 699e5d5 commit 802f460
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions contrib/quickstart/kratos/phone-password/kratos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ identity:
courier:
channels:
- id: phone
type: http
request_config:
url: https://api.twilio.com/2010-04-01/Accounts/AXXXXXXXXXXXXXX/Messages.json
method: POST
Expand Down
6 changes: 6 additions & 0 deletions embedx/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2001,6 +2001,12 @@
"maxLength": 32,
"enum": ["phone"]
},
"type": {
"type": "string",
"title": "Channel type",
"description": "The channel type. Currently only http is supported.",
"enum": ["http"]
},
"request_config": {
"$ref": "#/definitions/httpRequestConfig"
}
Expand Down

0 comments on commit 802f460

Please sign in to comment.