We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 344df97 commit 07184daCopy full SHA for 07184da
lib/api_remote.ml
@@ -57,7 +57,7 @@ module Slack : Api.Slack = struct
57
| Some access_token ->
58
let url = "https://slack.com/api/chat.postMessage" in
59
let data = Slack_j.string_of_post_message_req msg in
60
- let headers = [ Printf.sprintf "Authorization: Bearer %s" access_token ] in
+ let headers = [ sprintf "Authorization: Bearer %s" access_token ] in
61
let body = `Raw ("application/json", data) in
62
log#info "sending to %s : %s" msg.channel data;
63
( match%lwt http_request ~body ~headers `POST url with
0 commit comments