Skip to content

Commit f5630bb

Browse files
committed
fix: use html url not api url
1 parent 5de23c5 commit f5630bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/internal/ghv3/ghv3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func (g GitHubV3) CreateIssue(title, body string, labels []string) (*gh.GitHubIs
3434
if create == nil || err != nil {
3535
return nil, err
3636
}
37-
return &gh.GitHubIssue{URL: create.GetURL()}, err
37+
return &gh.GitHubIssue{URL: create.GetHTMLURL()}, err
3838
}
3939

4040
// Ensure the GitHubV3 implements gh.GitHubService interface.

0 commit comments

Comments
 (0)