mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2025-01-08 08:05:35 +00:00
Fix name conflict with name
from the bunyan
format.
This commit is contained in:
parent
c9d1488f33
commit
ff0f265c6d
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ impl TryInto<NewSubscriber> for FormData {
|
||||||
name = "Adding a new subscriber",
|
name = "Adding a new subscriber",
|
||||||
skip(form, pool),
|
skip(form, pool),
|
||||||
fields(
|
fields(
|
||||||
email = %form.email,
|
subscriber_email = %form.email,
|
||||||
name = %form.name
|
subscriber_name = %form.name
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
pub async fn subscribe(form: web::Form<FormData>, pool: web::Data<PgPool>) -> HttpResponse {
|
pub async fn subscribe(form: web::Form<FormData>, pool: web::Data<PgPool>) -> HttpResponse {
|
||||||
|
|
Loading…
Reference in a new issue