mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Merge pull request #7 from coryzibell/patch-1
Add options parameter to group based project list call
This commit is contained in:
commit
6aa6574b85
@ -77,10 +77,10 @@ class Groups extends BaseModel {
|
||||
return this.post('groups', options);
|
||||
}
|
||||
|
||||
listProjects(groupId) {
|
||||
listProjects(groupId, options = {}) {
|
||||
const gId = Utils.parse(groupId);
|
||||
|
||||
return this.get(`groups/${gId}/projects`);
|
||||
return this.get(`groups/${gId}/projects`, options);
|
||||
}
|
||||
|
||||
addProject(groupId, projectId) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user