Skip to content

Commit 3a3e186

Browse files
committedAug 22, 2023
fix cloud client update message
1 parent a92f543 commit 3a3e186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/chainlit/client/cloud.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ async def update_message(self, message_id: str, variables: MessageDict) -> bool:
362362
}
363363
}
364364
"""
365-
res = await self.mutation(mutation, dict(message_id=message_id, **variables))
365+
res = await self.mutation(mutation, dict(messageId=message_id, **variables))
366366

367367
if self.check_for_errors(res):
368368
logger.warning("Could not update message.")

0 commit comments

Comments
 (0)
Please sign in to comment.