Skip to content

Commit 6a19eb7

Browse files
return taskId for existing github issues (#1379)
1 parent 3475f19 commit 6a19eb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/issues.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const getIssues = async (req, res) => {
2525
const taskData = await tasks.fetchTaskByIssueId(issue.id);
2626
if (taskData) {
2727
issue.taskExists = true;
28+
issue.taskId = taskData.id;
2829
}
2930

3031
return issue;

0 commit comments

Comments
 (0)