Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit c92404d

Browse files
authored
docs: fix incorrect python sdk topic subscription example (#716)
1 parent 66417d4 commit c92404d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/messaging.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ user_created_topic = topic("user-created")
191191

192192
@user_created_topic.subscribe()
193193
async def updates_sub(ctx):
194-
email = ctx.req.json['email']
194+
email = ctx.req.data['email']
195195

196196
send_welcome_email(email)
197197

0 commit comments

Comments
 (0)