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 63e9eab commit e4932daCopy full SHA for e4932da
lib/api_remote.ml
@@ -67,7 +67,7 @@ end
67
module Slack : Api.Slack = struct
68
let log = Log.from "slack"
69
70
- let bearer_token_header access_token = sprintf "Authorization: Bearer %s" (Uri.pct_decode access_token)
+ let bearer_token_header access_token = sprintf "Authorization: Bearer %s" (Uri.pct_encode access_token)
71
72
(** `send_notification ctx msg` notifies `msg.channel` with the payload `msg`;
73
uses web API with access token if available, or with webhook otherwise *)
0 commit comments