🚀New lib version v0.4.6 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
14
dist/services/RunnerSelfService.js
vendored
14
dist/services/RunnerSelfService.js
vendored
@@ -48,5 +48,19 @@ class RunnerSelfService {
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
/**
|
||||
* Get selfservice org
|
||||
* Get the basic info and teams for a org.
|
||||
* @param token
|
||||
* @returns ResponseSelfServiceOrganisation
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerSelfServiceControllerGetSelfserviceOrg(token) {
|
||||
const result = await request_1.request({
|
||||
method: 'GET',
|
||||
path: `/api/organizations/selfservice/${token}`,
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
}
|
||||
exports.RunnerSelfService = RunnerSelfService;
|
||||
|
||||
Reference in New Issue
Block a user