Skip to content

Commit 01c465c

Browse files
Update ipAddress.ts
1 parent 29ad5a8 commit 01c465c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core/src/utils/ipAddress.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export function addAutoIpAddressToSession(session: Session | SessionAggregates):
2828
};
2929
}
3030
} else {
31-
addAutoIpAddressToUser(session);
31+
if (session.ipAddress === undefined) {
32+
session.ipAddress = '{{auto}}';
33+
}
3234
}
3335
}

0 commit comments

Comments
 (0)