From d1ab11327b93cc010bbfb7d744484ffaf9720f5d Mon Sep 17 00:00:00 2001 From: liyunze <50455574+liyunze-coding@users.noreply.github.com> Date: Mon, 3 Jun 2024 10:58:59 +0800 Subject: [PATCH] patched undone bug --- scripts/processCommand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/processCommand.js b/scripts/processCommand.js index 28c66d7..8b74ced 100644 --- a/scripts/processCommand.js +++ b/scripts/processCommand.js @@ -124,7 +124,7 @@ async function processCommand(user, command, message, flags, extra) { // task unfinished let unfinishedResponse = getResponse("taskUnfinished"); - params.task = `${openQuote}${unfinishRequest.body.unmarkedTasks}${closeQuote}`; + params.task = `${openQuote}${unfinishRequest.body.markedTasks}${closeQuote}`; if (unfinishRequest.body.failedTasks !== "") { unfinishedResponse += ` | Failed to unfinish task(s): "${unfinishRequest.body.failedTasks}"`;