Commit 92afc5fa authored by Greg Messner's avatar Greg Messner
Browse files

Chaged response status to CREATED for addComment() (#67).

parent 7280af74
......@@ -221,7 +221,7 @@ public class CommitsApi extends AbstractApi {
.withParam("path", path)
.withParam("line", line)
.withParam("line_type", lineType);
Response response = post(Response.Status.OK, formData, "projects", projectId, "repository", "commits", sha, "comments");
Response response = post(Response.Status.CREATED, formData, "projects", projectId, "repository", "commits", sha, "comments");
return (response.readEntity(Comment.class));
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment