aboutsummaryrefslogtreecommitdiff
path: root/lib/models/user/user_t.mli
diff options
context:
space:
mode:
authorMatias Goldfeld <[email protected]>2021-01-28 02:26:36 -0500
committerMatias Goldfeld <[email protected]>2021-01-28 02:26:36 -0500
commitc937240fdd2036edd493debb76117165e4084e8b (patch)
treeb0d89ca5795724b3bb804f2d65ee609217567ecd /lib/models/user/user_t.mli
parentMore Int64 refactors (diff)
downloaddisml-c937240fdd2036edd493debb76117165e4084e8b.tar.xz
disml-c937240fdd2036edd493debb76117165e4084e8b.zip
Started conversion to ppx_yojson_conv
Diffstat (limited to 'lib/models/user/user_t.mli')
-rw-r--r--lib/models/user/user_t.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/models/user/user_t.mli b/lib/models/user/user_t.mli
index 78f7a28..e971531 100644
--- a/lib/models/user/user_t.mli
+++ b/lib/models/user/user_t.mli
@@ -5,7 +5,7 @@ type partial_user = {
discriminator: string option;
avatar: string option;
bot: bool;
-} [@@deriving sexp, yojson { exn = true }]
+} [@@deriving sexp, yojson]
(** A user object. *)
type t = {
@@ -14,4 +14,4 @@ type t = {
discriminator: string; (** The 4 digits, as a string, that come after the '#' in a Discord username. *)
avatar: string option; (** The hash of the user avatar, if they have one set. See {!User.face} to get the avatar URL. *)
bot: bool; (** Whether the user is a bot. *)
-} [@@deriving sexp, yojson { exn = true }] \ No newline at end of file
+} [@@deriving sexp, yojson] \ No newline at end of file