aboutsummaryrefslogtreecommitdiff
path: root/lib/sharder.ml
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2019-01-19 13:06:40 -0700
committerAdelyn Breedlove <[email protected]>2019-01-19 13:06:40 -0700
commit721bbc88c75eea240607054f2ec5a371f4d60e08 (patch)
tree40af2abb5f6179194c0580defee32215245d04ef /lib/sharder.ml
parentAdd docs to event dispatch (diff)
downloaddisml-721bbc88c75eea240607054f2ec5a371f4d60e08.tar.xz
disml-721bbc88c75eea240607054f2ec5a371f4d60e08.zip
Some changes for doc readability
Diffstat (limited to 'lib/sharder.ml')
-rw-r--r--lib/sharder.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sharder.ml b/lib/sharder.ml
index 823fe28..9ad0022 100644
--- a/lib/sharder.ml
+++ b/lib/sharder.ml
@@ -136,7 +136,7 @@ module Shard = struct
| None -> begin
Mutex.lock identify_lock;
let payload = `Assoc [
- ("token", `String !Config.token);
+ ("token", `String !Client_options.token);
("properties", `Assoc [
("$os", `String Sys.os_type);
("$device", `String "dis.ml");
@@ -155,7 +155,7 @@ module Shard = struct
end
| Some s ->
let payload = `Assoc [
- ("token", `String !Config.token);
+ ("token", `String !Client_options.token);
("session_id", `String s);
("seq", `Int shard.seq)
] in