Fix Issue #102: The function to Get languages used in a project is absent

This commit is contained in:
Giuseppe Angri 2018-06-05 12:14:19 +02:00
parent 2fdeb5fe99
commit 6c0a4b48ec

View File

@ -40,6 +40,12 @@ class Projects extends BaseService {
return RequestHelper.get(this, `projects/${pId}/forks`, options);
}
languages(projectId) {
const pId = encodeURIComponent(projectId);
return RequestHelper.get(this, `projects/${pId}/languages`);
}
remove(projectId) {
const pId = encodeURIComponent(projectId);