Skip to content
This repository was archived by the owner on Dec 26, 2019. It is now read-only.

Commit caefbae

Browse files
author
张青宇
committed
bugfix:create MR failed,parameter assigneeId should be assignee_id. see http://docs.gitlab.com/ce/api/merge_requests.html#create-mr
1 parent b2fa781 commit caefbae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Models/ProjectMergeRequests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
title: title
7575
};
7676
if (assigneeId !== void 0) {
77-
params.assigneeId = parseInt(assigneeId);
77+
params.assignee_id = parseInt(assigneeId);
7878
}
7979
return this.post("projects/" + (Utils.parseProjectId(projectId)) + "/merge_requests", params, (function(_this) {
8080
return function(data) {

0 commit comments

Comments
 (0)