Cargo.toml cleanup and cargo fmt
Rust Build / Check (push) Successful in 25s
Rust Build / Test Suite (push) Successful in 32s
Rust Build / Rustfmt (push) Successful in 30s
Rust Build / Clippy (push) Successful in 27s
Rust Build / build (push) Successful in 28s

This commit is contained in:
2026-05-31 17:46:01 -04:00
parent be379543bb
commit dbebaaed39
2 changed files with 8 additions and 10 deletions
+8 -7
View File
@@ -99,13 +99,14 @@ pub mod user {
INSERT INTO "user" (username, password, phone, firstname, lastname, salt_id)
VALUES ($1, $2, $3, $4, $5, $6)
RETURNING id, created;
"#)
.bind(&user.username)
.bind(&user.password)
.bind(&user.phone_number)
.bind(&user.firstname)
.bind(&user.lastname)
.bind(user.salt_id)
"#,
)
.bind(&user.username)
.bind(&user.password)
.bind(&user.phone_number)
.bind(&user.firstname)
.bind(&user.lastname)
.bind(user.salt_id)
.fetch_one(pool)
.await
.map_err(|e| {