Skip to content

Commit 085373d

Browse files
RAYs3Tgmessner
authored andcommitted
Use status code 200 instead of 201. #221 (#222)
1 parent 6003538 commit 085373d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/gitlab4j/api/NotesApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public Note updateIssueNote(Integer projectId, Integer issueIid, Integer noteId,
176176
}
177177

178178
GitLabApiForm formData = new GitLabApiForm().withParam("body", body, true);
179-
Response response = put(Response.Status.CREATED, formData.asMap(), "projects", projectId, "issues", issueIid, "notes", noteId);
179+
Response response = put(Response.Status.OK, formData.asMap(), "projects", projectId, "issues", issueIid, "notes", noteId);
180180
return (response.readEntity(Note.class));
181181
}
182182

0 commit comments

Comments
 (0)