chore: build
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import apiClient from "./client";
|
||||
import { API_BASE_URL } from "./client";
|
||||
|
||||
import type {
|
||||
OrderItem,
|
||||
DeliveryPerson,
|
||||
@@ -6,8 +8,8 @@ import type {
|
||||
Alert,
|
||||
} from "./types";
|
||||
|
||||
const API = "https://mln-uber.club/api/v1/cabine";
|
||||
const V2 = "https://mln-uber.club/api/v2";
|
||||
const API = `${API_BASE_URL}/api/v1/cabine`;
|
||||
const V2 = `${API_BASE_URL}/api/v2`;
|
||||
|
||||
export const getCommandItems = async (commandId: number) => {
|
||||
const { data } = await apiClient.get(`${API}/commands/${commandId}/items`);
|
||||
|
||||
Reference in New Issue
Block a user