Skip to content

Commit

Permalink
Change claim data to connection_data (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
vona-ben authored Aug 5, 2024
1 parent 773dafc commit 84109ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vonage/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def generate_client_token(self, session_id, token_options={}):
if 'role' in token_options:
claims['role'] = token_options['role']
if 'data' in token_options:
claims['data'] = token_options['data']
claims['connection_data'] = token_options['data']
if 'initialLayoutClassList' in token_options:
claims['initial_layout_class_list'] = token_options['initialLayoutClassList']
if 'expireTime' in token_options and token_options['expireTime'] > now:
Expand Down

0 comments on commit 84109ac

Please sign in to comment.