mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
13 lines
287 B
JavaScript
13 lines
287 B
JavaScript
const BaseModel = require('./BaseModel');
|
|
const Utils = require('../Utils');
|
|
|
|
class ProjectLabels extends BaseModel {
|
|
all(projectId, options = {}) {
|
|
const pId = Utils.parse(projectId);
|
|
|
|
return this.get(`projects/${pId}/labels`, options);
|
|
}
|
|
}
|
|
|
|
module.exports = ProjectLabels;
|