Commit 8eb0e8e3 authored by derekyyyan's avatar derekyyyan Committed by Greg Messner
Browse files

Fix typo (#486) (#492)

parent 1c7785a5
......@@ -627,7 +627,7 @@ public class DiscussionsApi extends AbstractApi {
.withParam("created_at", createdAt);
Response response = post(Response.Status.CREATED, formData,
"projects", getProjectIdOrPath(projectIdOrPath),
"mege_requests", mergeRequestIid, "discussions", discussionId, "notes");
"merge_requests", mergeRequestIid, "discussions", discussionId, "notes");
return (response.readEntity(Note.class));
}
......@@ -651,7 +651,7 @@ public class DiscussionsApi extends AbstractApi {
GitLabApiForm formData = new GitLabApiForm().withParam("body", body).withParam("resolved", resolved);
Response response = this.putWithFormData(Response.Status.OK, formData,
"projects", getProjectIdOrPath(projectIdOrPath),
"mege_requests", mergeRequestIid, "discussions", discussionId, "notes", noteId);
"merge_requests", mergeRequestIid, "discussions", discussionId, "notes", noteId);
return (response.readEntity(Note.class));
}
......@@ -669,6 +669,6 @@ public class DiscussionsApi extends AbstractApi {
public void deleteMergeRequestThreadNote(Object projectIdOrPath, Integer mergeRequestIid,
String discussionId, Integer noteId) throws GitLabApiException {
delete(Response.Status.OK, null, "projects", getProjectIdOrPath(projectIdOrPath),
"mege_requests", mergeRequestIid, "discussions", discussionId, "notes", noteId);
"merge_requests", mergeRequestIid, "discussions", discussionId, "notes", noteId);
}
}
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