Skip to content

Commit 39a58c7

Browse files
committed
fix double callback issue on deleteUser
1 parent 27a5a33 commit 39a58c7

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
@@ -319,12 +319,7 @@ public void onComplete(@NonNull Task<Void> task) {
319319
userExceptionCallback(ex, callback);
320320
}
321321
}
322-
}).addOnFailureListener(new OnFailureListener() {
323-
@Override
324-
public void onFailure(@NonNull Exception ex) {
325-
userExceptionCallback(ex, callback);
326-
}
327-
});
322+
});
328323
} else {
329324
WritableMap err = Arguments.createMap();
330325
err.putInt("errorCode", NO_CURRENT_USER);

0 commit comments

Comments
 (0)