Skip to content

Commit 7a7d44c

Browse files
committed
fix double callback issue on updateUserEmail
1 parent e9b44bb commit 7a7d44c

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
@@ -233,12 +233,7 @@ public void onComplete(@NonNull Task<Void> task) {
233233
userExceptionCallback(ex, callback);
234234
}
235235
}
236-
}).addOnFailureListener(new OnFailureListener() {
237-
@Override
238-
public void onFailure(@NonNull Exception ex) {
239-
userExceptionCallback(ex, callback);
240-
}
241-
});
236+
});
242237
} else {
243238
WritableMap err = Arguments.createMap();
244239
err.putInt("errorCode", NO_CURRENT_USER);

0 commit comments

Comments
 (0)