summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-08-22 17:31:27 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-08-22 17:31:27 +0200
commit9487da48222c846533ecac4bc115d40dab35b9cc (patch)
tree1db235c0e985353047ab7634d14593453f8e931c
parentd346c13beb54baa334326d80bb4ba2e48653ce06 (diff)
Fix spaces
-rw-r--r--server/src/models/user.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/models/user.rs b/server/src/models/user.rs
index d7a836f..72fd56a 100644
--- a/server/src/models/user.rs
+++ b/server/src/models/user.rs
@@ -15,10 +15,10 @@ impl User {
let pool = unsafe { get_client() };
let rec = sqlx::query!(
r#"
-INSERT INTO users (email, password)
-VALUES ( $1, $2 )
-RETURNING id
- "#,
+ INSERT INTO users (email, password)
+ VALUES ( $1, $2 )
+ RETURNING id
+ "#,
user.email,
user.password
)