Skip to content

Commit

Permalink
[fix] Fix JSON parse property (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitodread authored Feb 12, 2024
1 parent c1cbdf2 commit 44eafc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telegram_bot_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ async def _do_work_lambda(event, context) -> dict:

try:
await app.initialize()
await app.process_update(Update.de_json(json.loads(event), app.bot))
await app.process_update(Update.de_json(event, app.bot))
except Exception as error:
print(f'Error: {error}')

Expand Down

0 comments on commit 44eafc6

Please sign in to comment.