From 5b60cd2811afcf404ca48716885c59d7d55a3db3 Mon Sep 17 00:00:00 2001 From: tkuzynow Date: Fri, 15 Sep 2023 11:17:19 +0200 Subject: [PATCH] fix: pass tenantId for startVideoCall event --- services/statisticsservice.yaml | 3 ++- .../statistics/event/StartVideoCallStatisticsEvent.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/services/statisticsservice.yaml b/services/statisticsservice.yaml index b84ab5d..37f58ff 100644 --- a/services/statisticsservice.yaml +++ b/services/statisticsservice.yaml @@ -133,7 +133,8 @@ components: description: The uuid of the video call example: 123e4567-e89b-12d3-a456-556642440000 tenantId: - type: string + type: integer + format: int64 description: The id of the tenant example: 12345 diff --git a/src/main/java/de/caritas/cob/videoservice/api/service/statistics/event/StartVideoCallStatisticsEvent.java b/src/main/java/de/caritas/cob/videoservice/api/service/statistics/event/StartVideoCallStatisticsEvent.java index 774947c..8489c88 100644 --- a/src/main/java/de/caritas/cob/videoservice/api/service/statistics/event/StartVideoCallStatisticsEvent.java +++ b/src/main/java/de/caritas/cob/videoservice/api/service/statistics/event/StartVideoCallStatisticsEvent.java @@ -46,6 +46,7 @@ private StartVideoCallStatisticsEventMessage createStartVideoCallStatisticsEvent .sessionId(sessionId) .videoCallUuid(videoCallUuid) .adviceSeekerId(adviceSeekerId) + .tenantId(tenantId) .timestamp(CustomOffsetDateTime.nowInUtc()); } }