Skip to content

Commit

Permalink
bug: null returned and confuse the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tzu-ting committed Dec 19, 2016
1 parent d287eb2 commit 710f234
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public Database(@NonNull String host) {
throw new IllegalArgumentException("illegal host domain", e);
}

if (res.containsKey("auth")) {
if (res.get("auth") != null) {
_useAuth = true;
_userName = res.get("user");
_authStr = generateAuthString(res.get("auth"));
Expand Down

0 comments on commit 710f234

Please sign in to comment.