customer club + convert score to wallet
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user