Skip to content

Commit

Permalink
fix(FEC-14007): User id not being sent on application events (#185)
Browse files Browse the repository at this point in the history
Co-authored-by: JonathanTGold <jonathan.gold@[email protected]>
  • Loading branch information
JonathanTGold and JonathanTGold authored Sep 2, 2024
1 parent cabf886 commit 2d7a6e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/application-events-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export function getApplicationEventsModel(eventObj: KavaEvent, model: KavaModel,
if (model.getUserId()) {
commonModel['userId'] = model.getUserId();
}
if (model.getKS()) {
commonModel['ks'] = model.getKS();
}

const eventModel = eventObj.getEventModel(innerEventPayload);
const namedEventModel = {};
Expand Down

0 comments on commit 2d7a6e8

Please sign in to comment.