Skip to content

Commit 5b7eeba

Browse files
committed
Added the application form url encoded media type to the external pulse response method.
1 parent b59208f commit 5b7eeba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/objectcomputing/checkins/services/pulseresponse/PulseResponseController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public HttpResponse commandPulseResponse(
140140
}
141141

142142
@Secured(SecurityRule.IS_ANONYMOUS)
143-
@Post("/external")
143+
@Post(uri = "/external", consumes = MediaType.APPLICATION_FORM_URLENCODED)
144144
public HttpResponse<PulseResponse> externalPulseResponse(
145145
@Header("X-Slack-Signature") String signature,
146146
@Header("X-Slack-Request-Timestamp") String timestamp,

0 commit comments

Comments
 (0)