Skip to content

Commit

Permalink
fix bullboard adapter (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertherber committed Sep 20, 2024
1 parent b8bebc3 commit 4968eff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wild-ligers-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zemble/bull": patch
---

Fix for later hono/bullboard versions
2 changes: 1 addition & 1 deletion packages/bull/bullboard-hono-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default class HonoAdapter<HonoEnv extends Env> implements IServerAdapter
queues: this.bullBoardQueues as BullBoardQueues,
params: c.req.param(),
query: c.req.query(),
body: c.req.json(),
body: routeMethod !== 'get' ? await c.req.json() : {},
})
return c.json(response.body, response.status || 200)
} catch (e) {
Expand Down

0 comments on commit 4968eff

Please sign in to comment.