Commit f4dfaacb by Giang Tran

edit refistor

parent 7e55df21
......@@ -59,7 +59,7 @@ const ConfirmOTP = (propsa) => {
platform: Platform.OS,
receiver_name: propsa.route.params.email,
otp: encryptRSAString(value),
type: 'CUSTOMER_VERIFY',
type: 'CUSTOMER_REGISTER',
});
if (res.data.code == 200) {
......@@ -93,7 +93,7 @@ const ConfirmOTP = (propsa) => {
if (res.data.code == 200 && res.data.data) {
showAlert(
TYPE.WARN,
TYPE.SUCCESS,
I18n.t('Notification'),
I18n.t('RegisterAccountSuccess'),
);
......@@ -114,7 +114,7 @@ const ConfirmOTP = (propsa) => {
const res = await getOTPApi({
platform: Platform.OS,
otp_by: propsa.route.params.email,
type: 'CUSTOMER_VERIFY',
type: 'CUSTOMER_REGISTER',
});
propsa.hideLoading();
if (res.data.code == 200) {
......
......@@ -47,7 +47,7 @@ const Registor = (props) => {
const res = await getOTPApi({
platform: Platform.OS,
otp_by: email,
type: 'CUSTOMER_VERIFY',
type: 'CUSTOMER_REGISTER',
});
props.hideLoading();
console.log(res);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment