aboutsummaryrefslogtreecommitdiff
path: root/lib/models/channel
diff options
context:
space:
mode:
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 b02fa31..1705bdf 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 711b319..30c90a5 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