From c5c1864bc3f4c02f96c7950cd52b6c3394a012fe Mon Sep 17 00:00:00 2001 From: Westley Date: Sun, 2 Mar 2014 12:00:04 -0800 Subject: [PATCH] edit_issues should use patch --- src/issues.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/issues.jl b/src/issues.jl index 4c29f31..9c0549d 100644 --- a/src/issues.jl +++ b/src/issues.jl @@ -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...)