aboutsummaryrefslogtreecommitdiff
path: root/lib/models/channel
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2019-02-12 14:53:29 -0700
committerAdelyn Breelove <[email protected]>2019-02-12 14:53:29 -0700
commit88ca350f4b1be2dd31e1362573f9613ab1ff5387 (patch)
tree66e35d7ec6cf331c03b3f24c10a60a68f369fda8 /lib/models/channel
parentUpdate README (diff)
downloaddisml-88ca350f4b1be2dd31e1362573f9613ab1ff5387.tar.xz
disml-88ca350f4b1be2dd31e1362573f9613ab1ff5387.zip
Update types :)
Diffstat (limited to 'lib/models/channel')
-rw-r--r--lib/models/channel/channel_t.ml2
-rw-r--r--lib/models/channel/channel_t.mli2
-rw-r--r--lib/models/channel/message/reaction.mli2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/models/channel/channel_t.ml b/lib/models/channel/channel_t.ml
index bdc5b4b..8611d9c 100644
--- a/lib/models/channel/channel_t.ml
+++ b/lib/models/channel/channel_t.ml
@@ -1,6 +1,6 @@
open Core
-exception Invalid_channel of Yojson.Safe.json
+exception Invalid_channel of Yojson.Safe.t
type group = {
id: Channel_id_t.t;
diff --git a/lib/models/channel/channel_t.mli b/lib/models/channel/channel_t.mli
index 8b8cc77..313939f 100644
--- a/lib/models/channel/channel_t.mli
+++ b/lib/models/channel/channel_t.mli
@@ -1,4 +1,4 @@
-exception Invalid_channel of Yojson.Safe.json
+exception Invalid_channel of Yojson.Safe.t
(** Represents a Group channel object. *)
type group = {
diff --git a/lib/models/channel/message/reaction.mli b/lib/models/channel/message/reaction.mli
index 38343cb..20ab436 100644
--- a/lib/models/channel/message/reaction.mli
+++ b/lib/models/channel/message/reaction.mli
@@ -1,6 +1,6 @@
include module type of Reaction_t
-(* val delete : Reaction_t.t -> Yojson.Safe.json Deferred.Or_error.t
+(* val delete : Reaction_t.t -> Yojson.Safe.t Deferred.Or_error.t
val get_users : Reaction_t.t -> int -> User_t.t list Deferred.Or_error.t
val get_users_after : Reaction_t.t -> Snowflake.t -> int -> User_t.t list Deferred.Or_error.t
val get_users_before : Reaction_t.t -> Snowflake.t -> int -> User_t.t list Deferred.Or_error.t *) \ No newline at end of file