diff --git a/dist/index.js b/dist/index.js index 6d96d2a..34cc27b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -354,7 +354,7 @@ class MermaidNode { return result; } static createFromGitHubIssue(issue) { - return new MermaidNode(`issue${issue.id}`, issue.title, MermaidNode.getNodeStatusFromGitHubIssue(issue)); + return new MermaidNode(`issue${issue.id}`, issue.title, MermaidNode.getNodeStatusFromGitHubIssue(issue), issue.html_url); } static getNodeStatusFromGitHubIssue(issue) { if (issue.state !== "open") { diff --git a/src/mermaid-node.ts b/src/mermaid-node.ts index ce754d7..0863e5e 100644 --- a/src/mermaid-node.ts +++ b/src/mermaid-node.ts @@ -25,7 +25,7 @@ export class MermaidNode { `issue${issue.id}`, issue.title, MermaidNode.getNodeStatusFromGitHubIssue(issue), - //issue.html_url + issue.html_url ); }