Skip to content

Commit

Permalink
Update ipAddress.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich authored Feb 3, 2025
1 parent 29ad5a8 commit 01c465c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/utils/ipAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export function addAutoIpAddressToSession(session: Session | SessionAggregates):
};
}
} else {
addAutoIpAddressToUser(session);
if (session.ipAddress === undefined) {
session.ipAddress = '{{auto}}';
}
}
}

0 comments on commit 01c465c

Please sign in to comment.