Skip to content

Commit 7e03cff

Browse files
committed
Android: getCurrentUser shouldn't return an error - just null if no users
1 parent 145690f commit 7e03cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ private void callbackNoUser(Callback callback, Boolean isError) {
7272
if (isError) {
7373
callback.invoke(err);
7474
} else {
75-
callback.invoke(null, err);
75+
callback.invoke(null, null);
7676
}
7777
}
7878

0 commit comments

Comments
 (0)