Patch phone verification for more informative error messages
This commit is contained in:
parent
c603f515c4
commit
fa68ffee59
1 changed files with 2 additions and 2 deletions
|
@ -102,10 +102,10 @@ export function doUserPhoneNew(phone, country_code) {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const failure = () => {
|
const failure = error => {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: ACTIONS.USER_PHONE_NEW_FAILURE,
|
type: ACTIONS.USER_PHONE_NEW_FAILURE,
|
||||||
data: { error: 'An error occurred while processing this phone number.' },
|
data: { error },
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue