From c1caed540456f61818992ba795219638b911088e Mon Sep 17 00:00:00 2001 From: LukeMathWalker Date: Fri, 16 Jul 2021 09:00:42 +0100 Subject: [PATCH] Fix name conflict with `name` from the `bunyan` format. --- src/routes/subscriptions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/subscriptions.rs b/src/routes/subscriptions.rs index 405d8cf..6ae0668 100644 --- a/src/routes/subscriptions.rs +++ b/src/routes/subscriptions.rs @@ -54,8 +54,8 @@ impl ResponseError for SubscribeError { name = "Adding a new subscriber", skip(form, pool, email_client, base_url), fields( - email = %form.email, - name = %form.name + subscriber_email = %form.email, + subscriber_name = %form.name ) )] pub async fn subscribe(