Skip to content

Commit

Permalink
fix compress feature
Browse files Browse the repository at this point in the history
  • Loading branch information
fakeshadow committed Dec 24, 2024
1 parent 7c9b0f2 commit c4ae358
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/middleware/decompress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ impl<S> Decompress<S> {

impl<'r, 'c, S> Service<ServiceRequest<'r, 'c>> for Decompress<S>
where
S: for<'r2, 'c2> Service<ServiceRequest<'r2, 'c2>, Response = Response<'c2>, Error = Error> + Send + Sync,
S: for<'r2, 'c2> Service<ServiceRequest<'r2, 'c2>, Response = Response, Error = Error> + Send + Sync,
{
type Response = Response<'c>;
type Response = Response;
type Error = Error;

async fn call(&self, req: ServiceRequest<'r, 'c>) -> Result<Self::Response, Self::Error> {
Expand Down

0 comments on commit c4ae358

Please sign in to comment.