mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
refactor(router): appstate as trait in authentication (#588)
This commit is contained in:
@ -64,7 +64,7 @@ pub mod error_parser {
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn custom_json_error_handler(err: JsonPayloadError, _req: &HttpRequest) -> Error {
|
||||
pub fn custom_json_error_handler(err: JsonPayloadError, _req: &HttpRequest) -> Error {
|
||||
actix_web::error::Error::from(CustomJsonError { err })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user