From 8248da89c0e96af05918758d9647ff3c2b6de8a5 Mon Sep 17 00:00:00 2001 From: Jeffrey Linwood Date: Fri, 10 Mar 2017 16:36:06 -0600 Subject: [PATCH] Update Chat JS SDK to 0.12, remove endpoint from Chat Grant for token --- app.py | 2 +- static/chat/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 2a14960..40ee893 100644 --- a/app.py +++ b/app.py @@ -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 diff --git a/static/chat/index.html b/static/chat/index.html index 6ae4569..160f904 100755 --- a/static/chat/index.html +++ b/static/chat/index.html @@ -19,7 +19,7 @@ - +