Apply auto ref fixes to example

This commit is contained in:
Ryan Leckey 2019-12-28 00:23:04 -08:00
parent 2c424b6d63
commit 3cb9ddb8c6

View File

@ -58,9 +58,9 @@ INSERT INTO users ( username, email, password )
VALUES ( $1, $2, $3 )
RETURNING id, username, email
"#,
&*body.username,
&*body.email,
&*hash,
body.username,
body.email,
hash,
)
.fetch_one(&mut pool)
.await