assert inbound call response is ok

This commit is contained in:
Ajay Raj 2023-03-06 22:29:43 -08:00
commit 8a0a9809f1
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "vocode"
version = "0.1.17"
version = "0.1.22"
description = "The all-in-one voice SDK"
authors = ["Ajay Raj <ajay@vocode.dev>"]
license = "MIT License"

View file

@ -26,6 +26,7 @@ class InboundCallServer():
twilio_sid=twilio_sid
).dict()
)
assert response.ok
return Response(
response.text,
media_type="application/xml",