mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2025-01-08 08:05:35 +00:00
Fix span name
This commit is contained in:
parent
317e7fe6ad
commit
a6c152c262
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ struct ConfirmedSubscriber {
|
||||||
email: SubscriberEmail,
|
email: SubscriberEmail,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tracing::instrument(name = "Adding a new subscriber", skip(pool))]
|
#[tracing::instrument(name = "Get confirmed subscribers", skip(pool))]
|
||||||
async fn get_confirmed_subscribers(
|
async fn get_confirmed_subscribers(
|
||||||
pool: &PgPool,
|
pool: &PgPool,
|
||||||
) -> Result<Vec<Result<ConfirmedSubscriber, anyhow::Error>>, anyhow::Error> {
|
) -> Result<Vec<Result<ConfirmedSubscriber, anyhow::Error>>, anyhow::Error> {
|
||||||
|
|
Loading…
Reference in a new issue