Fix span name

This commit is contained in:
Luca P 2022-03-11 23:05:14 +00:00
parent 317e7fe6ad
commit a6c152c262

View file

@ -75,7 +75,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> {