We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8074e0 commit d350104Copy full SHA for d350104
src/routes/subscriptions.rs
@@ -77,7 +77,10 @@ pub async fn subscribe(
77
email_client: web::Data<EmailClient>,
78
base_url: web::Data<ApplicationBaseUrl>,
79
) -> Result<HttpResponse, SubscriptionError> {
80
- let new_subscriber = form.0.try_into().map_err(SubscriptionError::ValidationError)?;
+ let new_subscriber = form
81
+ .0
82
+ .try_into()
83
+ .map_err(SubscriptionError::ValidationError)?;
84
let mut transaction = pool
85
.begin()
86
.await
0 commit comments