Skip to content

Commit

Permalink
fix:delete duplicate bind
Browse files Browse the repository at this point in the history
  • Loading branch information
kenken714 committed Oct 25, 2024
1 parent fc58943 commit 08f6f37
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/repository/user_password.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ impl Repository {
sqlx::query("INSERT INTO user_passwords (user_id, password) VALUES (?, ?)")
.bind(id)
.bind(&hash)
.bind(&hash)
.execute(&self.pool)
.await?;

Expand Down

0 comments on commit 08f6f37

Please sign in to comment.