We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7fa8e3 commit 341b092Copy full SHA for 341b092
src/index.ts
@@ -67,7 +67,7 @@ app.all("/api/*", async (c) => {
67
if (!redisData) return c.json({});
68
const { status, data } = JSON.parse(redisData);
69
c.status = status;
70
- return c.json(data);
+ return c.json(data, status);
71
});
72
73
const PORT = process.env.PORT || 8000;
0 commit comments