Skip to content

Commit

Permalink
API doc update (#78)
Browse files Browse the repository at this point in the history
* API doc update

projectId paramter has been removed from CreateMergeRequest constructor

* Accepted a suggestion from @Casz

Co-Authored-By: Joseph Petersen <[email protected]>
  • Loading branch information
MindaugasLaganeckas and jetersen committed Oct 26, 2019
1 parent d9a0c93 commit 82d8ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ await client.Issues.CreateAsync("projectId", new CreateIssueRequest("issue title
await client.Issues.GetAsync("projectId", o => o.AssigneeId = 100 && o.Labels == new[] { "test-label" });

// create a new merge request featureBranch -> master.
await client.MergeRequests.CreateAsync(new CreateMergeRequest("projectId", "featureBranch", "master", "Merge request title")
await client.MergeRequests.CreateAsync("projectPath", new CreateMergeRequest("featureBranch", "master", "Merge request title")
{
Labels = new[] { "bugfix" },
Description = "Implement feature"
Expand Down

0 comments on commit 82d8ad3

Please sign in to comment.