Closed SergProduction closed 3 years ago
It's probably because the ctx.req
stream has already been consumed by the middleware, so there is nothing to read by the BusBoy in the controller. I suggest to store fields
and files
into the ctx.request
object, in the middleware code.
I have midllware for validate fields formData
and controler midlleware
when I connect them in a chain, then in controler fields, files empty. Why?