This commit is contained in:
10
dist/services/ScanStationService.js
vendored
10
dist/services/ScanStationService.js
vendored
@@ -10,7 +10,7 @@ class ScanStationService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async scanStationControllerGetAll() {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'GET',
|
||||
path: `/api/stations`,
|
||||
});
|
||||
@@ -24,7 +24,7 @@ class ScanStationService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async scanStationControllerPost(requestBody) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'POST',
|
||||
path: `/api/stations`,
|
||||
body: requestBody,
|
||||
@@ -39,7 +39,7 @@ class ScanStationService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async scanStationControllerGetOne(id) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'GET',
|
||||
path: `/api/stations/${id}`,
|
||||
});
|
||||
@@ -54,7 +54,7 @@ class ScanStationService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async scanStationControllerPut(id, requestBody) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'PUT',
|
||||
path: `/api/stations/${id}`,
|
||||
body: requestBody,
|
||||
@@ -71,7 +71,7 @@ class ScanStationService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async scanStationControllerRemove(id, force) {
|
||||
const result = await request_1.request({
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'DELETE',
|
||||
path: `/api/stations/${id}`,
|
||||
query: {
|
||||
|
||||
Reference in New Issue
Block a user