customer club + convert score to wallet

This commit is contained in:
hamid zarghami
2025-12-13 15:21:17 +03:30
parent 51f246897d
commit 345a46dc7c
5 changed files with 102 additions and 6 deletions
@@ -10,3 +10,8 @@ export const getUserWallet = async (): Promise<WalletResponse> => {
const { data } = await api.get<WalletResponse>("/public/user/wallet");
return data;
};
export const convertScoreToWallet = async () => {
const { data } = await api.post("/public/user/convert-score-to-wallet");
return data;
};