Closed SidFeng closed 7 years ago
Sorry for the delay, did you get that issue solved? My guess is that you didn't pass the correct object to async-busboy
If it's still matter:
You've just passed wrong object to async-busboy. ctx.request
is not the same as ctx.req
and it not a stream at all.
@m4nuC Could you add request
checking on top of async-bysboy function? This argument just should be an instance of http.IncomingMessage
.
@octet-stream Thanks for pointing this out.
I am adding the request
checking,
const {files, fields} = await asyncBusboy(ctx.request);
It's show 'TypeError: request.on is not a function'.