mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	refactor(middleware): change visibility to pub (#587)
				
					
				
			This commit is contained in:
		| @ -15,7 +15,7 @@ pub(crate) mod macros; | |||||||
| pub mod routes; | pub mod routes; | ||||||
| pub mod scheduler; | pub mod scheduler; | ||||||
|  |  | ||||||
| mod middleware; | pub mod middleware; | ||||||
| #[cfg(feature = "openapi")] | #[cfg(feature = "openapi")] | ||||||
| pub mod openapi; | pub mod openapi; | ||||||
| pub mod services; | pub mod services; | ||||||
|  | |||||||
| @ -1,5 +1,5 @@ | |||||||
| /// Middleware to include request ID in response header. | /// Middleware to include request ID in response header. | ||||||
| pub(crate) struct RequestId; | pub struct RequestId; | ||||||
|  |  | ||||||
| impl<S, B> actix_web::dev::Transform<S, actix_web::dev::ServiceRequest> for RequestId | impl<S, B> actix_web::dev::Transform<S, actix_web::dev::ServiceRequest> for RequestId | ||||||
| where | where | ||||||
| @ -22,7 +22,7 @@ where | |||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
| pub(crate) struct RequestIdMiddleware<S> { | pub struct RequestIdMiddleware<S> { | ||||||
|     service: S, |     service: S, | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Sanchith Hegde
					Sanchith Hegde