Fix span name

This commit is contained in:
Luca P 2022-03-11 23:05:41 +00:00
parent 19d788569d
commit 92558d41d9

View file

@ -213,7 +213,7 @@ struct ConfirmedSubscriber {
email: SubscriberEmail,
}
#[tracing::instrument(name = "Adding a new subscriber", skip(pool))]
#[tracing::instrument(name = "Get confirmed subscribers", skip(pool))]
async fn get_confirmed_subscribers(
pool: &PgPool,
) -> Result<Vec<Result<ConfirmedSubscriber, anyhow::Error>>, anyhow::Error> {