Skip to content

Commit

Permalink
Tag user with id instead of name
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellBerlin committed Sep 23, 2024
1 parent 039a69f commit 9a5a9c9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SlackDeliveryWebhookController(
orderId = action.value,
slackOrderStatus = action.action_id,
messageTimestamp = slackPayload.message.ts,
userName = slackPayload.user.username
userName = slackPayload.user.id
)
}

Expand Down Expand Up @@ -61,5 +61,5 @@ data class SlackMessage(

@JsonIgnoreProperties(ignoreUnknown = true)
data class SlackUser(
val username: String
val id: String
)

0 comments on commit 9a5a9c9

Please sign in to comment.