Merge pull request #7 from coryzibell/patch-1

Add options parameter to group based project list call
This commit is contained in:
jdalrymple 2017-09-14 18:29:10 -04:00 committed by GitHub
commit 6aa6574b85

View File

@ -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) {