Skip to content

Commit

Permalink
edit_issues should use patch
Browse files Browse the repository at this point in the history
  • Loading branch information
WestleyArgentum committed Mar 2, 2014
1 parent d4cb62f commit c5c1864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/issues.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function edit_issue(auth::Authorization, owner::String, repo, num; title = nothi
milestone != nothing && (data["milestone"] = milestone)
labels != nothing && (data["labels"] = labels)

r = post(URI(API_ENDPOINT; path = "/repos/$owner/$repo/issues/$num");
r = patch(URI(API_ENDPOINT; path = "/repos/$owner/$repo/issues/$num");
headers = headers,
data = data,
options...)
Expand Down

0 comments on commit c5c1864

Please sign in to comment.