This commit is contained in:
12
dist/services/ImportService.js
vendored
12
dist/services/ImportService.js
vendored
@@ -12,7 +12,7 @@ class ImportService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async importControllerPostJson(group, requestBody) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'POST',
|
||||
path: `/api/runners/import`,
|
||||
query: {
|
||||
@@ -31,7 +31,7 @@ class ImportService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async importControllerPostOrgsJson(id, requestBody) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'POST',
|
||||
path: `/api/organizations/${id}/import`,
|
||||
body: requestBody,
|
||||
@@ -47,7 +47,7 @@ class ImportService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async importControllerPostTeamsJson(id, requestBody) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'POST',
|
||||
path: `/api/teams/${id}/import`,
|
||||
body: requestBody,
|
||||
@@ -62,7 +62,7 @@ class ImportService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async importControllerPostCsv(group) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'POST',
|
||||
path: `/api/runners/import/csv`,
|
||||
query: {
|
||||
@@ -79,7 +79,7 @@ class ImportService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async importControllerPostOrgsCsv(id) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'POST',
|
||||
path: `/api/organizations/${id}/import/csv`,
|
||||
});
|
||||
@@ -93,7 +93,7 @@ class ImportService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async importControllerPostTeamsCsv(id) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'POST',
|
||||
path: `/api/teams/${id}/import/csv`,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user