mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-04 15:16:31 +00:00
Fix name conflict with name
from the bunyan
format.
This commit is contained in:
parent
c8396cb078
commit
fbdb7aebe6
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ pub struct 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<FormData>, pool: web::Data<PgPool>) -> HttpResponse {
|
||||
|
|
Loading…
Reference in a new issue