shorter strings

This commit is contained in:
Bryan Stitt 2022-10-07 02:21:34 +00:00
parent 44adffcd32
commit ecd3dc29fc

@ -204,7 +204,7 @@ impl AuthorizedRequest {
impl Display for &AuthorizedRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
AuthorizedRequest::Internal => f.write_str("internal"),
AuthorizedRequest::Internal => f.write_str("int"),
AuthorizedRequest::Ip(x) => f.write_str(&format!("ip:{}", x)),
AuthorizedRequest::User(_, x) => f.write_str(&format!("uk:{}", x.user_key_id)),
}