chore: fix reset point
This commit is contained in:
@@ -6,8 +6,8 @@ import type {
|
||||
Alert,
|
||||
} from "./types";
|
||||
|
||||
const API = "http://5.181.0.112/api/v1/cabine";
|
||||
const V2 = "http://5.181.0.112/api/v2";
|
||||
const API = "https://uber-stup.club/api/v1/cabine";
|
||||
const V2 = "https://uber-stup.club/api/v2";
|
||||
|
||||
// ============================================
|
||||
// ITEMS
|
||||
@@ -117,7 +117,10 @@ export const deleteCommand = async (commandId: number) => {
|
||||
return { success: true, message: data.message };
|
||||
};
|
||||
|
||||
export const proposeAddressChangeCabine = async (commandId: number, proposedAddress: string) => {
|
||||
export const proposeAddressChangeCabine = async (
|
||||
commandId: number,
|
||||
proposedAddress: string,
|
||||
) => {
|
||||
const { data } = await apiClient.post(
|
||||
`${API}/commands/${commandId}/propose-address`,
|
||||
{ proposed_address: proposedAddress },
|
||||
|
||||
Reference in New Issue
Block a user