Skip to content

Commit 06bf2fe

Browse files
committed
upd
1 parent f3afe5d commit 06bf2fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/event_processor/event_builder/user_event.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ const buildVisitorAttributes = (
260260

261261
// Omit attribute values that are not supported by the log endpoint.
262262
const builtAttributes: VisitorAttribute[] = [];
263-
Object.keys(attributes || {}).forEach(function(attributeKey) {
263+
Object.keys(attributes).forEach(function(attributeKey) {
264264
const attributeValue = attributes[attributeKey];
265265

266266
if (typeof attributeValue === 'object' || typeof attributeValue === 'undefined') {

0 commit comments

Comments
 (0)