mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 22:44:17 +00:00
Making realworld-postgres example compile
This commit is contained in:
parent
f0c88da152
commit
1e5e1eceb4
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ RETURNING id, username, email
|
|||
"#,
|
||||
body.username,
|
||||
body.email,
|
||||
hash,
|
||||
hash
|
||||
)
|
||||
.fetch_one(&mut tx)
|
||||
.await
|
||||
|
@ -106,7 +106,7 @@ SELECT username, email
|
|||
FROM users
|
||||
WHERE id = $1
|
||||
"#,
|
||||
user_id,
|
||||
user_id
|
||||
)
|
||||
.fetch_one(&mut pool)
|
||||
.await
|
||||
|
|
Loading…
Reference in a new issue