Skip to content

Commit c1c1830

Browse files
committed
Fixed bug with creating Github issues via unintended API URL generation.
1 parent 196222e commit c1c1830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Module/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class BugReportForm extends FormApplication {
7171

7272
const repo = match?.[1].toLowerCase();
7373

74-
bugs = `https://api.github.com/repos/${repo}/issues`;
74+
bugs = this.module.data.bugs;
7575
search = `https://api.github.com/search/issues?q=repo:${repo}`;
7676
} else if (this.gitlab) {
7777
const regex = /gitlab.com\/(.+)\/-\/issues/g;

0 commit comments

Comments
 (0)