From 9487da48222c846533ecac4bc115d40dab35b9cc Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 22 Aug 2022 17:31:27 +0200 Subject: Fix spaces --- server/src/models/user.rs | 8 ++++---- 1 file 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 ) -- cgit v1.2.3-18-g5258