feat: partner enrty
This commit is contained in:
@ -9,8 +9,7 @@ export const postCertification = async (data: ICertificationRequest) => {
|
||||
return result;
|
||||
};
|
||||
|
||||
export const getPhone = async(code: string): Promise<{phoneNumber: string}> => {
|
||||
const result = await http.post<{ code :string }>(API.GET_PHONE, { data: {code} });
|
||||
export const getPhone = async (code: string): Promise<{ code: string }> => {
|
||||
const result = await http.post<{ code: string }>(API.GET_PHONE, { data: { code } });
|
||||
return result;
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user