Skip to content

Commit 663c7a3

Browse files
Fix API invocation
Co-authored-by: Eric Huss <[email protected]>
1 parent 01da687 commit 663c7a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/github.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ impl GithubClient {
180180
body: &'a str,
181181
labels: Vec<String>,
182182
}
183-
self.json(self.client.post(repo.url(&self)).json(&NewIssue {
183+
let url = format!("{}/issues", repo.url(&self));
184+
self.json(self.post(&url).json(&NewIssue {
184185
title,
185186
body,
186187
labels,

0 commit comments

Comments
 (0)