From 74105f5d825f48414ac4ca24e427264a4e602d36 Mon Sep 17 00:00:00 2001 From: Jeffrey Linwood Date: Thu, 30 Mar 2017 21:11:42 -0500 Subject: [PATCH] Add named parameter for identity to access token --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 694b442..ec52876 100644 --- a/app.py +++ b/app.py @@ -65,7 +65,7 @@ def token(): identity = fake.user_name() # Create access token with credentials - token = AccessToken(account_sid, api_key, api_secret, identity) + token = AccessToken(account_sid, api_key, api_secret, identity=identity) # Create a Sync grant and add to token if sync_service_sid: