Skip to content

Commit

Permalink
Ignore other properties everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellBerlin committed Aug 30, 2024
1 parent 00a5832 commit 8e73b84
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.carbonara.core.slack

import com.carbonara.core.order.OrderService
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonValue
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import mu.KotlinLogging
import org.springframework.http.ResponseEntity
Expand Down Expand Up @@ -37,7 +36,7 @@ data class SlackWebhookRequestBody(
val payload: String
)


@JsonIgnoreProperties(ignoreUnknown = true)
data class SlackPayload(
val actions: List<SlackAction>
)
Expand Down

0 comments on commit 8e73b84

Please sign in to comment.