We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77603a4 commit 5711d4fCopy full SHA for 5711d4f
src/msgraph_core/requests/batch_request_builder.py
@@ -108,6 +108,11 @@ async def _post_batch_collection(
108
109
for batch_request_content in batch_request_content_collection.batches:
110
request_info = await self.to_post_request_information(batch_request_content)
111
+ bytes_content = request_info.content
112
+ json_content = bytes_content.decode("utf-8")
113
+ updated_str = '{"requests":' + json_content + '}'
114
+ updated_bytes = updated_str.encode("utf-8")
115
+ request_info.content = updated_bytes
116
response = await self._request_adapter.send_async(
117
request_info, BatchResponseContent, error_map or self.error_map
118
)
0 commit comments