Getting isssues on adding data to KV store

Logs
[wrangler:inf] POST /api/v1/renewal-reminders 200 OK (33ms)

Code:
const app = new Hono();

const openapi = fromHono(app, {
docs_url: "/swagger.html",
});

openapi.post('/api/v1/renewal-reminders', CreateRenewalReminder);

export class CreateRenewalReminder extends OpenAPIRoute {
async handle(ctx) {
const key = uniqueGenrationLoginc;
const data = await this.getValidatedData<typeof this.schema>();
const taskToCreate = data.body;
await ctx.env.RENEWAL_REMINDER_INFO_BRAND.put(
key,
JSON.stringify(taskToCreate)
)
return {
success: true,
};
}
}

export default app


https://github.com/orgs/honojs/discussions/3978
GitHub
Not getting any error when i call the API it gives me 200 but key value is not preset in Store if i check from dashboard logs [wrangler:inf] POST /api/v1/renewal-reminders 200 OK (33ms) const app =...
Was this page helpful?