Skip to content

Commit

Permalink
fix: add contentType
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwwinter committed Oct 29, 2024
1 parent 5f92ac2 commit b68c993
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class DefaultTriggerWebhookUseCase(
.headers {
it.set(HttpHeaders.AUTHORIZATION, "Token ${webhook.authentication.secret}")
}
.contentType(MediaType.APPLICATION_JSON)
.body(body)
.accept(MediaType.APPLICATION_JSON)
.retrieve()
Expand Down

0 comments on commit b68c993

Please sign in to comment.