Closed jonathanfallon closed 2 months ago
The signResponseMiddleware
has been removed from HttpTransport.ts
due to an issue where expressMung.jsonAsync
caused the response body to become undefined. The import statement was removed, and the middleware usage was commented out in the HttpTransport
class to prevent any unexpected behavior.
File | Change Summary |
---|---|
api/src/pdc/proxy/HttpTransport.ts |
Removed signResponseMiddleware import and commented out its usage due to issues with expressMung.jsonAsync . |
In the code, a cleanup bright,
Middleware removed from sight,
To ensure responses ever clear,
No undefined bodies here.
Bugs dispelled, code pristine,
On this path, we'll glean the green.
🌟✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Désactivation du middleware
signResponse
qui fait planter le body des réponses. Lié àexpressMung
etjsonAsync
. A fixerSummary by CodeRabbit
signResponseMiddleware
to address an issue causing undefined response bodies.