diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-08-22 17:31:27 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-08-22 17:31:27 +0200 |
commit | 9487da48222c846533ecac4bc115d40dab35b9cc (patch) | |
tree | 1db235c0e985353047ab7634d14593453f8e931c /server | |
parent | d346c13beb54baa334326d80bb4ba2e48653ce06 (diff) |
Fix spaces
Diffstat (limited to 'server')
-rw-r--r-- | server/src/models/user.rs | 8 |
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 ) |