chore: fix URL

This commit is contained in:
2026-03-06 16:17:29 +01:00
parent 12b65d54c0
commit e4462a1d69
6 changed files with 24 additions and 11 deletions
+7 -3
View File
@@ -6,8 +6,8 @@ import type {
Alert,
} from "./types";
const API = "https://uber-stup.club/api/v1/cabine";
const V2 = "https://uber-stup.club/api/v2";
const API = "http://5.181.0.112/api/v1/cabine";
const V2 = "http://5.181.0.112/api/v2";
// ============================================
// ITEMS
@@ -121,7 +121,11 @@ export const notifyClientToDescendCabine = async (commandId: number) => {
const { data } = await apiClient.post(
`${API}/commands/${commandId}/notify-client`,
);
return { success: true, message: data.message, client_username: data.client_username };
return {
success: true,
message: data.message,
client_username: data.client_username,
};
};
export const getCabineLivreursList = async (): Promise<