mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Fix issue where coro was not awaited (#9536)
This commit is contained in:
parent
55a09785ce
commit
ece556c047
@ -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})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user