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.
Loading
Please register or sign in to comment