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 2d90fb7 commit aed88abCopy full SHA for aed88ab
lib/api_remote.ml
@@ -50,7 +50,7 @@ end
50
module Slack : Api.Slack = struct
51
let log = Log.from "slack"
52
53
- let bearer_token_header access_token = sprintf "Authorization: Bearer %s" access_token
+ let bearer_token_header access_token = sprintf "Authorization: Bearer %s" (Uri.pct_decode access_token)
54
55
(** `send_notification ctx msg` notifies `msg.channel` with the payload `msg`;
56
uses web API with access token if available, or with webhook otherwise *)
0 commit comments