Hi - I'm not quite groking HONO I am attempting to write an image into an R2 bucket - but the HONO

Hi - I'm not quite groking HONO

I am attempting to write an image into an R2 bucket - but the HONO request body returned is not happy

        const body = await c.req.parseBody();
        c.env.R2_MY_BUCKET.put('test.png', body);


Type 'BodyData' is missing the following properties from type 'ReadableStream<any>':..........

Any assist?
Was this page helpful?