I am using Hono `.json()`, I will test without that - products.get('/', async (c) => { const {

I am using Hono
.json()
, I will test without that -

products.get('/', async (c) => {
const { offset = 0, limit = 1000 } = c.req.query();
const results = await getProducts(c, Number(offset), Number(limit));
return c.json(results as Product[]);
});
Was this page helpful?