Skip to content

Commit

Permalink
Bug fix: Let Project::merge_requests() pass the project id to the l…
Browse files Browse the repository at this point in the history
…ister constructor
  • Loading branch information
nbigaouette committed Dec 8, 2016
1 parent 71935a7 commit 0482034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/projects/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl<'a> Project {

/// Return a lister for the project's merge requests
pub fn merge_requests(&'a self, gl: &'a ::GitLab) -> ::merge_requests::MergeRequestsLister {
::merge_requests::MergeRequestsLister::new(gl)
::merge_requests::MergeRequestsLister::new(gl, self.id)
}
}

Expand Down

0 comments on commit 0482034

Please sign in to comment.