Skip to content

Commit e4932da

Browse files
committed
s/pct_decode/pct_encode/
1 parent 63e9eab commit e4932da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/api_remote.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ end
6767
module Slack : Api.Slack = struct
6868
let log = Log.from "slack"
6969

70-
let bearer_token_header access_token = sprintf "Authorization: Bearer %s" (Uri.pct_decode access_token)
70+
let bearer_token_header access_token = sprintf "Authorization: Bearer %s" (Uri.pct_encode access_token)
7171

7272
(** `send_notification ctx msg` notifies `msg.channel` with the payload `msg`;
7373
uses web API with access token if available, or with webhook otherwise *)

0 commit comments

Comments
 (0)