From 149d3c226bd40b4cc04e703bcb46068b4b77ae4b Mon Sep 17 00:00:00 2001 From: KjellBerlin Date: Fri, 20 Sep 2024 18:18:37 +0200 Subject: [PATCH] Info log for user --- .../kotlin/com/carbonara/core/slack/SlackMessageService.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/kotlin/com/carbonara/core/slack/SlackMessageService.kt b/src/main/kotlin/com/carbonara/core/slack/SlackMessageService.kt index 5f60d8b..2198533 100644 --- a/src/main/kotlin/com/carbonara/core/slack/SlackMessageService.kt +++ b/src/main/kotlin/com/carbonara/core/slack/SlackMessageService.kt @@ -76,6 +76,9 @@ class SlackMessageService { fun updateOrderMessage( params: SlackMessageParams ) { + + log.info("Username: ${params.userName}") + val slackResponse = when(params.orderStatus) { OrderStatus.RIDER_ASSIGNED -> updateOrderMessageToAccepted(params) OrderStatus.DELIVERY_IN_PROGRESS -> updateOrderMessageToDeliveryInProgress(params)