We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8653d7 commit fcce072Copy full SHA for fcce072
controllers/tasks.js
@@ -57,7 +57,7 @@ const getUserTasks = async (req, res) => {
57
let allTasks = []
58
59
if (status) {
60
- allTasks = await tasks.fetchUserTasks(username, status)
+ allTasks = await tasks.fetchUserTasks(username, [status])
61
} else {
62
allTasks = await tasks.fetchUserTasks(username)
63
}
0 commit comments