From 2939bcdd1d84392ec120cb6581c0d5b07cc2bde1 Mon Sep 17 00:00:00 2001 From: JonathanTGold Date: Mon, 29 Jul 2024 20:29:41 +0300 Subject: [PATCH] fix(FEC-14007): User id not being sent on application events --- 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 3027d6f..bf452b5 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 = {};