Skip to content

Commit

Permalink
Separate fields in message
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellBerlin committed Aug 30, 2024
1 parent 75fd687 commit 6c4f85f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/main/kotlin/com/carbonara/core/slack/SlackMessageService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,16 @@ class SlackMessageService {
}
*/
section {
markdownText("*Customer Name:*\n$customerName")
markdownText("*OrderId:*\n$orderId")
fields {
markdownText("*Customer Name:*\n$customerName")
markdownText("*OrderId:*\n$orderId")
}
}
section {
markdownText("*Address:*\n$address\n$googleMapsLink")
markdownText("*Products:*\n${productNames.joinToString(", ")}")
fields {
markdownText("*Address:*\n$address\n$googleMapsLink")
markdownText("*Products:*\n${productNames.joinToString(", ")}")
}
}
actions {
button {
Expand Down

0 comments on commit 6c4f85f

Please sign in to comment.