handle huge things!
This commit is contained in:
@@ -3,6 +3,7 @@ import type {Price} from "@/models/home";
|
||||
|
||||
export const getChart = async () => await useAxios.get<Array<Array<any>>>(`/api/candle`)
|
||||
|
||||
/** @deprecated قیمت up داخل /api/price/last در فیلد up برمیگردد */
|
||||
export const getPrice = async () => await useAxios.get<Price>(`/api/price/up`)
|
||||
|
||||
export const getLastPrice = async () => await useAxios.get<Price>(`/api/price/last`)
|
||||
|
||||
Reference in New Issue
Block a user