added missing return

This commit is contained in:
StNicolay 2023-07-29 15:57:17 +03:00
parent b456896894
commit c06879b08e
Signed by: StNicolay
GPG Key ID: 9693D04DCD962B0D

View File

@ -13,6 +13,7 @@ pub async fn menu(bot: Throttle<Bot>, msg: Message, db: DatabaseConnection) -> c
bot.send_message(msg.chat.id, "You don't have any accounts")
.reply_markup(deletion_markup())
.await?;
return Ok(());
}
let markup = spawn_blocking(|| menu_markup_sync("get", names)).await?;