mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-06-09 08:49:28 +00:00
Green test.
This commit is contained in:
parent
6e049bab9e
commit
a631932f05
|
@ -80,7 +80,7 @@ pub async fn insert_subscriber(
|
|||
sqlx::query!(
|
||||
r#"
|
||||
INSERT INTO subscriptions (id, email, name, subscribed_at, status)
|
||||
VALUES ($1, $2, $3, $4, 'confirmed')
|
||||
VALUES ($1, $2, $3, $4, 'pending_confirmation')
|
||||
"#,
|
||||
Uuid::new_v4(),
|
||||
new_subscriber.email.as_ref(),
|
||||
|
|
Loading…
Reference in a new issue