Fix issue where coro was not awaited (#9536)

This commit is contained in:
Tim O'Farrell 2025-07-03 13:32:51 -06:00 committed by GitHub
parent 55a09785ce
commit ece556c047
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,7 +157,7 @@ async def search_events(
async def add_event(
request: Request, conversation: ServerConversation = Depends(get_conversation)
):
data = request.json()
data = await request.json()
await conversation_manager.send_event_to_conversation(conversation.sid, data)
return JSONResponse({'success': True})