From 2d7a6e831cc52b892f53eb26aae7d08b5eae00c2 Mon Sep 17 00:00:00 2001 From: JonathanTGold <62672270+JonathanTGold@users.noreply.github.com> Date: Mon, 2 Sep 2024 16:28:25 +0300 Subject: [PATCH] fix(FEC-14007): User id not being sent on application events (#185) Co-authored-by: JonathanTGold --- src/application-events-model.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/application-events-model.ts b/src/application-events-model.ts index b29cd05..3b99e15 100644 --- a/src/application-events-model.ts +++ b/src/application-events-model.ts @@ -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 = {};