Merge remote-tracking branch 'tvtamas/master'

This commit is contained in:
Justin Dalrymple 2017-11-29 20:03:35 -05:00
commit b8a3db4a4a

View File

@ -2,10 +2,10 @@ const BaseModel = require('./BaseModel');
const Utils = require('../Utils');
class Pipelines extends BaseModel {
all(projectId) {
all(projectId, options = {}) {
const pId = Utils.parse(projectId);
return this.get(`projects/${pId}/pipelines`);
return this.get(`projects/${pId}/pipelines`, options);
}
}