summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsue445 <sue445@sue445.net>2015-10-14 00:30:48 +0900
committersue445 <sue445@sue445.net>2015-10-14 00:36:54 +0900
commita092d27025cbaf4abe8a1198a25c5becfc07c9b1 (patch)
treed0776daae8df668370f039a7a309cf3dd33ee9b1
parente3edd53ae420e3cd581be9ac1029df8a0c93daab (diff)
downloadgitlab-ce-a092d27025cbaf4abe8a1198a25c5becfc07c9b1.tar.gz
[ci skip] Fix wrong comment
According to `attributes_for_keys` and API doc, `POST /projects/:id/merge_requests` is received `target_project_id` (NOT `target_project`)
-rw-r--r--lib/api/merge_requests.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/merge_requests.rb b/lib/api/merge_requests.rb
index 63ea2f05438..f3a59fadf24 100644
--- a/lib/api/merge_requests.rb
+++ b/lib/api/merge_requests.rb
@@ -99,7 +99,7 @@ module API
# id (required) - The ID of a project - this will be the source of the merge request
# source_branch (required) - The source branch
# target_branch (required) - The target branch
- # target_project - The target project of the merge request defaults to the :id of the project
+ # target_project_id - The target project of the merge request defaults to the :id of the project
# assignee_id - Assignee user ID
# title (required) - Title of MR
# description - Description of MR