|
|
@@ -34,7 +34,7 @@ impl User {
|
|
|
|
|
|
pub async fn insert_one(&self, db: &PgPool) -> Result<(), HttpError> {
|
|
|
let result = sqlx::query(
|
|
|
- "INSERT into users(id, token, name, email, pass_hash, created_at),
|
|
|
+ "INSERT into users(id, token, name, email, pass_hash, created_at)
|
|
|
VALUES($1, $2, $3, $4, $5, $6)"
|
|
|
)
|
|
|
.bind(&self.id)
|