docs: update TODOs to include issue numbers

This commit is contained in:
Jack Michaud
2023-01-04 08:04:27 -05:00
parent a95e71d6f9
commit bdcfae54fc
2 changed files with 4 additions and 4 deletions
@@ -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
});
+1 -1
View File
@@ -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: {