Skip to content

Commit 32ed7fd

Browse files
committed
fix double callback issue on updateUserPassword
1 parent 7a7d44c commit 32ed7fd

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

android/src/main/java/io/fullstack/firestack/FirestackAuth.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,7 @@ public void onComplete(@NonNull Task<Void> task) {
264264
userExceptionCallback(ex, callback);
265265
}
266266
}
267-
}).addOnFailureListener(new OnFailureListener() {
268-
@Override
269-
public void onFailure(@NonNull Exception ex) {
270-
userExceptionCallback(ex, callback);
271-
}
272-
});
267+
});
273268
} else {
274269
WritableMap err = Arguments.createMap();
275270
err.putInt("errorCode", NO_CURRENT_USER);

0 commit comments

Comments
 (0)