Skip to content

Commit

Permalink
fix: resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoweii committed Dec 8, 2023
1 parent 8fb9838 commit b4c209b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void deleteGlobalAttribute(String name) {
*/
public void addUserAttribute(String name, Object value) {
if (value != null) {
Event.EventError error = EventChecker.checkUserAttribute(userAttributes.length(), name, value);
Event.EventError error = EventChecker.checkUserAttribute(allUserAttributes.length(), name, value);
if (error.getErrorCode() > 0) {
final AnalyticsEvent event = createEvent(Event.PresetEvent.CLICKSTREAM_ERROR);
event.addAttribute(Event.ReservedAttribute.ERROR_CODE, error.getErrorCode());
Expand Down

0 comments on commit b4c209b

Please sign in to comment.