mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-18 14:06:37 +00:00
Fix span name
This commit is contained in:
parent
19d788569d
commit
92558d41d9
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,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