Skip to content

Commit

Permalink
Merge pull request #262 from lucemia/fix-261-IndexError-while-call-ta…
Browse files Browse the repository at this point in the history
…lk-to-bot-api

fix #261 got IndexError while call talk_to_bot API
  • Loading branch information
zzstoatzz authored Apr 30, 2023
2 parents 0b9ea00 + 55efd6c commit 71c2ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marvin/api/bots.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async def talk_to_bot(
"""
bot = await marvin.Bot.load(name=name)
await bot.set_thread(thread_lookup_key=thread_lookup_key)
response = await bot.say(message=message)
response = await bot.say(message)
return MessageRead(**response.dict())


Expand Down

0 comments on commit 71c2ac4

Please sign in to comment.