Speculating here since I didn't run your code, but the `env` you get in the DO constructor has nothi

Speculating here since I didn't run your code, but the
env
you get in the DO constructor has nothing to do with the Hono env. In your code it should be the
Bindings
directly. So doing
await this.env.MY_BUCKET.put(...)
will probably work.
And your logging BTW confirms this.
DOs constructor receive the Worker's definition of Env, as defined in your wrangler configuration.
Was this page helpful?