From 82c4acf201e06b5b06818b6447aaa618e00fd36a Mon Sep 17 00:00:00 2001 From: Kashif Date: Fri, 22 Nov 2024 18:31:54 +0530 Subject: [PATCH] chore: fix clippy --- crates/router/src/core/recon.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/router/src/core/recon.rs b/crates/router/src/core/recon.rs index 081328ae0939..f31b65987ca1 100644 --- a/crates/router/src/core/recon.rs +++ b/crates/router/src/core/recon.rs @@ -8,7 +8,7 @@ use masking::{ExposeInterface, PeekInterface, Secret}; #[cfg(feature = "email")] use crate::{consts, services::email::types as email_types, types::domain}; use crate::{ - core::errors::{self, RouterResponse, UserResponse}, + core::errors::{self, RouterResponse, UserResponse, UserErrors}, services::{api as service_api, authentication}, types::{ api::{self as api_types, enums}, @@ -204,7 +204,7 @@ pub async fn verify_recon_token( let acl = user_with_role.role_info.get_recon_acl(); let optional_acl_str = serde_json::to_string(&acl) .inspect_err(|err| router_env::logger::error!("Failed to serialize acl to string: {}", err)) - .change_context(errors::UserErrors::InternalServerError) + .change_context(UserErrors::InternalServerError) .attach_printable("Failed to serialize acl to string. Using empty ACL") .ok();