This commit is contained in:
12
dist/services/RunnerOrganizationService.js
vendored
12
dist/services/RunnerOrganizationService.js
vendored
@@ -10,7 +10,7 @@ class RunnerOrganizationService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerOrganizationControllerGetAll() {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'GET',
|
||||
path: `/api/organizations`,
|
||||
});
|
||||
@@ -24,7 +24,7 @@ class RunnerOrganizationService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerOrganizationControllerPost(requestBody) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'POST',
|
||||
path: `/api/organizations`,
|
||||
body: requestBody,
|
||||
@@ -39,7 +39,7 @@ class RunnerOrganizationService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerOrganizationControllerGetOne(id) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'GET',
|
||||
path: `/api/organizations/${id}`,
|
||||
});
|
||||
@@ -54,7 +54,7 @@ class RunnerOrganizationService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerOrganizationControllerPut(id, requestBody) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'PUT',
|
||||
path: `/api/organizations/${id}`,
|
||||
body: requestBody,
|
||||
@@ -71,7 +71,7 @@ class RunnerOrganizationService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerOrganizationControllerRemove(id, force) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'DELETE',
|
||||
path: `/api/organizations/${id}`,
|
||||
query: {
|
||||
@@ -89,7 +89,7 @@ class RunnerOrganizationService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerOrganizationControllerGetRunners(id, onlyDirect) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'GET',
|
||||
path: `/api/organizations/${id}/runners`,
|
||||
query: {
|
||||
|
||||
Reference in New Issue
Block a user