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 f8a1d43 commit 967c184Copy full SHA for 967c184
src/socketio/async_aiopika_manager.py
@@ -82,7 +82,7 @@ async def _publish(self, data):
82
try:
83
await self.publisher_exchange.publish(
84
aio_pika.Message(
85
- body=json.dumps(data),
+ body=json.dumps(data).encode(),
86
delivery_mode=aio_pika.DeliveryMode.PERSISTENT
87
), routing_key='*',
88
)
0 commit comments