Skip to content

Commit

Permalink
Merge pull request #60 from minhtc/master
Browse files Browse the repository at this point in the history
fix bugs: bad operand types for binary operator
  • Loading branch information
HazAT authored May 16, 2017
2 parents 0f31a17 + f4b775a commit 678b8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/main/java/io/sentry/RNSentryModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void setTags(ReadableMap tags) {

@ReactMethod
public void setUser(ReadableMap user) {
if (user.hasKey("email") && user.getString("userID") && user.getString("username")) {
if (user.hasKey("email") && user.hasKey("userID") && user.hasKey("username")) {
Sentry.setUser(
new UserBuilder()
.setEmail(user.getString("email"))
Expand Down

0 comments on commit 678b8f9

Please sign in to comment.