Renamed DatabaseConnection into Pool
This commit is contained in:
@@ -29,7 +29,7 @@ pub fn menu_markup_sync(
|
||||
pub async fn menu_markup(
|
||||
command: impl Into<String> + Send,
|
||||
user_id: u64,
|
||||
db: &DatabaseConnection,
|
||||
db: &Pool,
|
||||
) -> crate::Result<InlineKeyboardMarkup> {
|
||||
let command: String = command.into();
|
||||
let names: Vec<String> = Account::get_names(user_id, db).try_collect().await?;
|
||||
|
Reference in New Issue
Block a user