mirror of
https://github.com/n08i40k/schedule-parser-rusted.git
synced 2025-12-06 17:57:47 +03:00
refactor(middlewares): move MiddlewareError from crate::utility to crate::middlewares
This commit is contained in:
@@ -81,7 +81,7 @@ mod middleware_error {
|
||||
|
||||
fn error_response(&self) -> ::actix_web::HttpResponse<BoxBody> {
|
||||
::actix_web::HttpResponse::build(self.status_code())
|
||||
.json(crate::utility::error::MiddlewareError::new(self.clone()))
|
||||
.json(crate::middlewares::error::MiddlewareError::new(self.clone()))
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user