added missing return
This commit is contained in:
parent
b456896894
commit
c06879b08e
@ -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")
|
bot.send_message(msg.chat.id, "You don't have any accounts")
|
||||||
.reply_markup(deletion_markup())
|
.reply_markup(deletion_markup())
|
||||||
.await?;
|
.await?;
|
||||||
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
||||||
let markup = spawn_blocking(|| menu_markup_sync("get", names)).await?;
|
let markup = spawn_blocking(|| menu_markup_sync("get", names)).await?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user