chore: fix reset point

This commit is contained in:
2026-03-06 21:24:34 +01:00
parent 8a00b8ab9f
commit 698037c712
7 changed files with 23 additions and 14 deletions
+6 -3
View File
@@ -9,8 +9,8 @@ import type {
Alert,
} from "./types";
const V2 = "http://5.181.0.112/api/v2";
const CABINE_URL = "http://5.181.0.112/api/v1/cabine";
const V2 = "https://uber-stup.club/api/v2";
const CABINE_URL = "https://uber-stup.club/api/v1/cabine";
// ============================================
// AUTH
@@ -173,7 +173,10 @@ export const validateCommand = async (commandId: number) => {
return { success: true, message: data.message };
};
export const proposeAddressChangeAdmin = async (commandId: number, proposedAddress: string) => {
export const proposeAddressChangeAdmin = async (
commandId: number,
proposedAddress: string,
) => {
const { data } = await apiClient.post(
`${V2}/admin/protected/orders/${commandId}/propose-address`,
{ proposed_address: proposedAddress },