mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
get single environment
This commit is contained in:
parent
5413608185
commit
a80bc8035b
@ -14,6 +14,12 @@ class Environments extends BaseService {
|
||||
return RequestHelper.get(this, `projects/${pId}/environments`, options);
|
||||
}
|
||||
|
||||
show(projectId: ProjectId, environmentId: EnvironmentId, options?: Sudo) {
|
||||
const [pId, eId] = [projectId, environmentId].map(encodeURIComponent);
|
||||
|
||||
return RequestHelper.get(this, `projects/${pId}/environments/${eId}`, options);
|
||||
}
|
||||
|
||||
create(projectId: ProjectId, options?: BaseRequestOptions) {
|
||||
const pId = encodeURIComponent(projectId);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user