diff options
| author | Adelyn Breedlove <[email protected]> | 2019-06-07 21:24:23 -0600 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2019-06-07 21:24:23 -0600 |
| commit | a42c8cabea8e0d5ea23c3a062b6ae308afd62d2f (patch) | |
| tree | ceee7242b9742b89b170d431a1ad8b6eab0583df /lib/http | |
| parent | Add permission utilities (diff) | |
| download | disml-origin/lwt.tar.xz disml-origin/lwt.zip | |
Relocate token prefixingorigin/lwt
Diffstat (limited to 'lib/http')
| -rw-r--r-- | lib/http/http.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http/http.ml b/lib/http/http.ml index c99159f..61829cf 100644 --- a/lib/http/http.ml +++ b/lib/http/http.ml @@ -20,7 +20,7 @@ module Base = struct let h = Header.init () in
Header.add_list h
[ "User-Agent", "DiscordBot (https://gitlab.com/Mishio595/disml, v0.2.3)"
- ; "Authorization", ("Bot " ^ !Client_options.token)
+ ; "Authorization", !Client_options.token
; "Content-Type", "application/json"
; "Connection", "keep-alive"
]
|