Commit 085373d0 authored by Kevin Urbainczyk's avatar Kevin Urbainczyk Committed by Greg Messner
Browse files

Use status code 200 instead of 201. #221 (#222)

parent 60035381
...@@ -176,7 +176,7 @@ public class NotesApi extends AbstractApi { ...@@ -176,7 +176,7 @@ public class NotesApi extends AbstractApi {
} }
GitLabApiForm formData = new GitLabApiForm().withParam("body", body, true); GitLabApiForm formData = new GitLabApiForm().withParam("body", body, true);
Response response = put(Response.Status.CREATED, formData.asMap(), "projects", projectId, "issues", issueIid, "notes", noteId); Response response = put(Response.Status.OK, formData.asMap(), "projects", projectId, "issues", issueIid, "notes", noteId);
return (response.readEntity(Note.class)); return (response.readEntity(Note.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