Commit 98007a22 authored by malkoG's avatar malkoG
Browse files

fix(nestjs): use req.body to avoid undici body lock error

NestJS already consumes the request stream, so wrapping it with
Readable.toWeb(req) caused undici to throw a "body object should not be
disturbed or locked" error. Passing req.body directly fixes this.
parent 125bd990
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment