mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-23 16:50:49 +00:00
Another round of manual linting
Some checks failed
Build and Test / Format check (push) Has been cancelled
Build and Test / Lint (push) Has been cancelled
Build and Test / Test (push) Has been cancelled
Build and Test / Check dependency hash (push) Has been cancelled
Build and Test / Build (push) Has been cancelled
Some checks failed
Build and Test / Format check (push) Has been cancelled
Build and Test / Lint (push) Has been cancelled
Build and Test / Test (push) Has been cancelled
Build and Test / Check dependency hash (push) Has been cancelled
Build and Test / Build (push) Has been cancelled
This commit is contained in:
parent
c5f46dd7fe
commit
a4ac2b9e2c
8 changed files with 38 additions and 38 deletions
|
@ -188,7 +188,7 @@ impl OsuUser {
|
|||
|
||||
impl OsuUser {
|
||||
/// Stores the user.
|
||||
pub async fn store<'a>(&self, conn: &mut Transaction<'a, Database>) -> Result<bool> {
|
||||
pub async fn store(&self, conn: &mut Transaction<'_, Database>) -> Result<bool> {
|
||||
let old_user_id = {
|
||||
query!(
|
||||
r#"SELECT id as "id: i64" FROM osu_users WHERE user_id = ?"#,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue