mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-24 09:41:03 +00:00
Ignore faulty lint
This commit is contained in:
parent
9d13e57f4e
commit
a4d95d8749
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ pub struct Parameters {
|
||||||
subscription_token: String,
|
subscription_token: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::async_yields_async)]
|
||||||
#[tracing::instrument(name = "Confirm a pending subscriber", skip(parameters, pool))]
|
#[tracing::instrument(name = "Confirm a pending subscriber", skip(parameters, pool))]
|
||||||
pub async fn confirm(parameters: web::Query<Parameters>, pool: web::Data<PgPool>) -> HttpResponse {
|
pub async fn confirm(parameters: web::Query<Parameters>, pool: web::Data<PgPool>) -> HttpResponse {
|
||||||
let id = match get_subscriber_id_from_token(&pool, ¶meters.subscription_token).await {
|
let id = match get_subscriber_id_from_token(&pool, ¶meters.subscription_token).await {
|
||||||
|
|
Loading…
Reference in a new issue