File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import Button from '../containers/Button';
1010import FormContainer , { FormContainerInner } from '../containers/FormContainer' ;
1111import { ControlledFormTextInput } from '../containers/TextInput' ;
1212import I18n from '../i18n' ;
13- import { sendEmailCode } from '../lib/services/restApi' ;
13+ import { forgotPassword } from '../lib/services/restApi' ;
1414import { OutsideParamList } from '../stacks/types' ;
1515import { useTheme } from '../theme' ;
1616import { showErrorAlert } from '../lib/methods/helpers' ;
@@ -51,7 +51,7 @@ const ForgotPasswordView = (): React.ReactElement => {
5151 try {
5252 logEvent ( events . FP_FORGOT_PASSWORD ) ;
5353 setIsFetching ( true ) ;
54- const result = await sendEmailCode ( email ) ;
54+ const result = await forgotPassword ( email ) ;
5555 if ( result . success ) {
5656 navigation . pop ( ) ;
5757 showErrorAlert ( I18n . t ( 'Forgot_password_If_this_email_is_registered' ) , I18n . t ( 'Alert' ) ) ;
You can’t perform that action at this time.
0 commit comments