From c767adaf806fe179800d0bc75bbdd1446cd5274a Mon Sep 17 00:00:00 2001 From: HermanL02 Date: Thu, 1 May 2025 11:42:02 -0300 Subject: [PATCH] feat: modify round number retrieval to use namespace instead of input --- worker/src/task/5-routes.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/worker/src/task/5-routes.ts b/worker/src/task/5-routes.ts index 410c9b4..7c42558 100644 --- a/worker/src/task/5-routes.ts +++ b/worker/src/task/5-routes.ts @@ -58,6 +58,7 @@ export async function routes() { app.post("/add-todo-pr", async (req, res) => { const signature = req.body.signature; const prUrl = req.body.prUrl; + // Modified round number not fetch from the input instead fetch from the namespace const roundNumber = await namespaceWrapper.getRound(); const success = req.body.success; const message = req.body.message;