Skip to content

Commit 5fa44c1

Browse files
jerryshialmazuel
andauthored
Update README.md (Azure#36456)
* Update README.md * Update sdk/communication/azure-communication-jobrouter/README.md Co-authored-by: Laurent Mazuel <[email protected]> --------- Co-authored-by: Laurent Mazuel <[email protected]>
1 parent a8afe49 commit 5fa44c1

File tree

1 file changed

+2
-2
lines changed
  • sdk/communication/azure-communication-jobrouter

1 file changed

+2
-2
lines changed

sdk/communication/azure-communication-jobrouter/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ from azure.eventgrid import EventGridEvent
195195
import json
196196

197197
## deserialize payload into a list of typed Events
198-
events = [EventGridEvent.from_json(json.loads(msg)) for msg in payload]
198+
events = [EventGridEvent.from_json(msg) for msg in payload]
199199
```
200200

201201
```python
@@ -354,4 +354,4 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
354354
[pypi]: https://pypi.org
355355
[pip]: https://pypi.org/project/pip/
356356

357-
[job_router_samples]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/communication/azure-communication-jobrouter/samples
357+
[job_router_samples]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/communication/azure-communication-jobrouter/samples

0 commit comments

Comments
 (0)