Skip to content

Commit

Permalink
fix the logic here, we should return username when it's available
Browse files Browse the repository at this point in the history
  • Loading branch information
jocelynlih committed Apr 18, 2015
1 parent b80b589 commit af7d25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Airbrake/notifier/ABNotice.m
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ - (NSString *)getPostUserName {
if ([self.userName length]) {
uname = self.userName;
}
return self.userName;
return uname;
}

- (NSData *)JSONString {
Expand Down

0 comments on commit af7d25d

Please sign in to comment.