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 @@ - +