feat: modify round number retrieval to use namespace instead of input

This commit is contained in:
2025-05-01 11:42:02 -03:00
parent a7269bd06d
commit c767adaf80

View File

@ -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;