From bdcfae54fc1ed5edd8d8c7235a859e169e65a8a9 Mon Sep 17 00:00:00 2001 From: Jack Michaud Date: Wed, 4 Jan 2023 08:04:27 -0500 Subject: [PATCH] docs: update TODOs to include issue numbers --- website/cypress/contract/oasst_api_contract_tests.cy.ts | 6 +++--- website/src/pages/api/update_task.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/cypress/contract/oasst_api_contract_tests.cy.ts b/website/cypress/contract/oasst_api_contract_tests.cy.ts index 0f9ddd00..ff5bb156 100644 --- a/website/cypress/contract/oasst_api_contract_tests.cy.ts +++ b/website/cypress/contract/oasst_api_contract_tests.cy.ts @@ -23,7 +23,7 @@ describe("Contract test for Oasst API", function () { expect(await oasstApiClient.ackTask(task.id, "321")).to.be.null; }); - // TODO Add test for 204 - // TODO Add test for parsing >=300, throwing an OasstError - // TODO Add test for parsing >=300, throwing a generic error + // TODO(#354): Add test for 204 + // TODO(#354): Add test for parsing >=300, throwing an OasstError + // TODO(#354): Add test for parsing >=300, throwing a generic error }); diff --git a/website/src/pages/api/update_task.ts b/website/src/pages/api/update_task.ts index 5e887175..2d371354 100644 --- a/website/src/pages/api/update_task.ts +++ b/website/src/pages/api/update_task.ts @@ -36,7 +36,7 @@ const handler = async (req, res) => { // Send the interaction to the Task Backend. This automatically fetches the // next task in the sequence (or the done task). - // TODO Move this into OasstApiClient. + // TODO(#353): Move this into OasstApiClient. const interactionRes = await fetch(`${process.env.FASTAPI_URL}/api/v1/tasks/interaction`, { method: "POST", headers: {