Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
Update starters/spring/src/main/kotlin/br/com/zup/beagle/spring/filte…
Browse files Browse the repository at this point in the history
…r/BeaglePlatformFilter.kt

Co-authored-by: Luiz Gustavo Gomes Borges <[email protected]>
  • Loading branch information
hernandazevedozup and LG95 authored Sep 26, 2022
1 parent 309b056 commit 235ca3f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ class BeaglePlatformFilter(private val objectMapper: ObjectMapper) : Filter {
chain.doFilter(request, responseWrapper)
treatResponse(responseWrapper, platformHeader)
responseWrapper.copyBodyToResponse()
} else {
chain?.doFilter(request, response)
}
}

Expand Down

0 comments on commit 235ca3f

Please sign in to comment.