shorten several request span names.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
98d96b89a5
commit
213a6d441f
7 changed files with 35 additions and 36 deletions
|
@ -17,9 +17,9 @@ use crate::{
|
|||
/// # `PUT /_matrix/federation/v2/invite/{roomId}/{eventId}`
|
||||
///
|
||||
/// Invites a remote user to a room.
|
||||
#[tracing::instrument(skip_all, fields(%client_ip))]
|
||||
#[tracing::instrument(skip_all, fields(%client), name = "invite")]
|
||||
pub(crate) async fn create_invite_route(
|
||||
InsecureClientIp(client_ip): InsecureClientIp, body: Ruma<create_invite::v2::Request>,
|
||||
InsecureClientIp(client): InsecureClientIp, body: Ruma<create_invite::v2::Request>,
|
||||
) -> Result<create_invite::v2::Response> {
|
||||
let origin = body.origin.as_ref().expect("server is authenticated");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue