We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3afe5d commit 06bf2feCopy full SHA for 06bf2fe
lib/event_processor/event_builder/user_event.ts
@@ -260,7 +260,7 @@ const buildVisitorAttributes = (
260
261
// Omit attribute values that are not supported by the log endpoint.
262
const builtAttributes: VisitorAttribute[] = [];
263
- Object.keys(attributes || {}).forEach(function(attributeKey) {
+ Object.keys(attributes).forEach(function(attributeKey) {
264
const attributeValue = attributes[attributeKey];
265
266
if (typeof attributeValue === 'object' || typeof attributeValue === 'undefined') {
0 commit comments