We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 502c0a1 commit 7725179Copy full SHA for 7725179
1 file changed
app/rooms/examples/eg006_create_external_form_fill_session.py
@@ -84,15 +84,17 @@ def worker(args):
84
"""
85
# Step 1. Create an API client with headers
86
api_client = create_rooms_api_client(access_token=args["access_token"])
87
+
88
+ request_body=ExternalFormFillSessionForCreate(
89
+ room_id=args['room_id'],
90
+ form_id=args['form_id'],
91
+ x_frame_allowed_url = args['x_frame_allowed_url']
92
+ )
93
94
# Step 2. Create an external form fill session
95
form_fill_session_api = ExternalFormFillSessionsApi(api_client)
96
results = form_fill_session_api.create_external_form_fill_session(
- body=ExternalFormFillSessionForCreate(
- room_id=args['room_id'],
- form_id=args['form_id'],
- x_frame_allowed_url = args['x_frame_allowed_url']
- ),
97
+ body=request_body,
98
account_id=args["account_id"]
99
)
100
return results
0 commit comments