Update Chat JS SDK to 0.12, remove endpoint from Chat Grant for token

This commit is contained in:
Jeffrey Linwood
2017-03-10 16:36:06 -06:00
parent 025a5b453f
commit 8248da89c0
2 changed files with 2 additions and 2 deletions

2
app.py
View File

@@ -79,7 +79,7 @@ def token():
# Create an Chat grant and add to token
if chat_service_sid:
chat_grant = IpMessagingGrant(endpoint_id=endpoint, service_sid=chat_service_sid)
chat_grant = IpMessagingGrant(service_sid=chat_service_sid)
token.add_grant(chat_grant)
# Return token info as JSON