Skip to content

Commit

Permalink
added todo
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Aug 23, 2024
1 parent 6c1cfd9 commit 075be45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shvatka/tgbot/dialogs/time_hint/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ async def edit_single_hint(c: CallbackQuery, widget: Any, manager: DialogManager
dcf = await dishka.get(Factory)
hint = dcf.load(manager.start_data.get("time_hint"), scn.TimeHint)
hint_sender = await dishka.get(HintSender)
# TODO now it only show. but we want to show, to edit and to delete
chat: types.Chat = manager.middleware_data["event_from_chat"]
await hint_sender.send_hint(hint.hint[int(hint_index)], chat.id)

Expand Down

0 comments on commit 075be45

Please sign in to comment.