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/message.ml1
-rw-r--r--lib/models/channel/message/reaction.mli2
4 files changed, 4 insertions, 3 deletions
diff --git a/lib/models/channel/channel_t.ml b/lib/models/channel/channel_t.ml
index 8611d9c..bdc5b4b 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.t
+exception Invalid_channel of Yojson.Safe.json
type group = {
id: Channel_id_t.t;
diff --git a/lib/models/channel/channel_t.mli b/lib/models/channel/channel_t.mli
index 313939f..8b8cc77 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.t
+exception Invalid_channel of Yojson.Safe.json
(** Represents a Group channel object. *)
type group = {
diff --git a/lib/models/channel/message/message.ml b/lib/models/channel/message/message.ml
index 43929d2..d3917e9 100644
--- a/lib/models/channel/message/message.ml
+++ b/lib/models/channel/message/message.ml
@@ -1,3 +1,4 @@
+open Core
open Async
include Message_t
diff --git a/lib/models/channel/message/reaction.mli b/lib/models/channel/message/reaction.mli
index 20ab436..38343cb 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.t Deferred.Or_error.t
+(* val delete : Reaction_t.t -> Yojson.Safe.json 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