We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84cff3f commit 0a5289eCopy full SHA for 0a5289e
livekit-api/livekit/api/twirp_client.py
@@ -116,7 +116,7 @@ def sync_request(
116
serialized_data = data.SerializeToString()
117
resp = requests.post(url, headers=headers, data=serialized_data)
118
if resp.status == 200:
119
- return response_class.FromString(resp.data())
+ return response_class.FromString(resp.content)
120
else:
121
# when we have an error, Twirp always encode it in json
122
error_data = resp.json()
0 commit comments