From 40eb12258dc359f134a423133d923b49006899ef Mon Sep 17 00:00:00 2001 From: asonix Date: Mon, 19 Dec 2022 21:05:53 -0600 Subject: [PATCH] Record id in inbox route --- src/routes/inbox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/inbox.rs b/src/routes/inbox.rs index 18ff8da..202f803 100644 --- a/src/routes/inbox.rs +++ b/src/routes/inbox.rs @@ -16,7 +16,7 @@ use activitystreams::{ use actix_web::{web, HttpResponse}; use http_signature_normalization_actix::prelude::{DigestVerified, SignatureVerified}; -#[tracing::instrument(name = "Inbox", skip_all)] +#[tracing::instrument(name = "Inbox", skip_all, fields(id = input.id_unchecked().map(|id| id.as_str())))] #[allow(clippy::too_many_arguments)] pub(crate) async fn route( state: web::Data,