Fix name conflict with name from the bunyan format.

This commit is contained in:
LukeMathWalker 2021-07-16 09:00:42 +01:00
parent b3ed5fd21e
commit c1caed5404

View file

@ -54,8 +54,8 @@ impl ResponseError for SubscribeError {
name = "Adding a new subscriber", name = "Adding a new subscriber",
skip(form, pool, email_client, base_url), skip(form, pool, email_client, base_url),
fields( fields(
email = %form.email, subscriber_email = %form.email,
name = %form.name subscriber_name = %form.name
) )
)] )]
pub async fn subscribe( pub async fn subscribe(