Skip to content

Commit 3859616

Browse files
committed
Adds get project API
1 parent 0cea055 commit 3859616

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: lib/resources/project.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Project.prototype.getByPath = function (params, callback) {
3737
this.client.request('get', '/project', params, callback);
3838
};
3939

40+
Project.prototype.get = function (params, callback) {
41+
this.client.request('get', '/projects/:id', params, callback);
42+
};
43+
4044
Project.prototype.search = function (params, callback) {
4145
this.client.request('get', '/projects/search/:query', params, callback);
4246
};
@@ -63,4 +67,4 @@ Project.prototype.updateLabel = function(params, callback) {
6367

6468
Project.prototype.deleteLabel = function(params, callback) {
6569
this.client.request('delete', this.onePath + '/labels', params, callback);
66-
};
70+
};

0 commit comments

Comments
 (0)