assert inbound call response is ok
This commit is contained in:
parent
bdc3bd783f
commit
8a0a9809f1
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "vocode"
|
name = "vocode"
|
||||||
version = "0.1.17"
|
version = "0.1.22"
|
||||||
description = "The all-in-one voice SDK"
|
description = "The all-in-one voice SDK"
|
||||||
authors = ["Ajay Raj <ajay@vocode.dev>"]
|
authors = ["Ajay Raj <ajay@vocode.dev>"]
|
||||||
license = "MIT License"
|
license = "MIT License"
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ class InboundCallServer():
|
||||||
twilio_sid=twilio_sid
|
twilio_sid=twilio_sid
|
||||||
).dict()
|
).dict()
|
||||||
)
|
)
|
||||||
|
assert response.ok
|
||||||
return Response(
|
return Response(
|
||||||
response.text,
|
response.text,
|
||||||
media_type="application/xml",
|
media_type="application/xml",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue