diff --git a/src/routes/subscriptions.rs b/src/routes/subscriptions.rs index a967ad1..1c977a1 100644 --- a/src/routes/subscriptions.rs +++ b/src/routes/subscriptions.rs @@ -25,8 +25,8 @@ impl TryInto for FormData { name = "Adding a new subscriber", skip(form, pool), fields( - email = %form.email, - name = %form.name + subscriber_email = %form.email, + subscriber_name = %form.name ) )] pub async fn subscribe(form: web::Form, pool: web::Data) -> HttpResponse {