aboutsummaryrefslogtreecommitdiff
path: root/lib/models/channel/message/attachment.ml
diff options
context:
space:
mode:
authorMatias Goldfeld <[email protected]>2021-01-29 13:40:29 -0500
committerMatias Goldfeld <[email protected]>2021-01-29 13:40:29 -0500
commit7ad203a0249bd9db50dfb1df4adb9b7483406e30 (patch)
tree52696cb3e1c16a84513fb90fe50c3738ce4539cb /lib/models/channel/message/attachment.ml
parentStarted conversion to ppx_yojson_conv (diff)
downloaddisml-7ad203a0249bd9db50dfb1df4adb9b7483406e30.tar.xz
disml-7ad203a0249bd9db50dfb1df4adb9b7483406e30.zip
Revert "Started conversion to ppx_yojson_conv"
This reverts commit c937240fdd2036edd493debb76117165e4084e8b.
Diffstat (limited to 'lib/models/channel/message/attachment.ml')
-rw-r--r--lib/models/channel/message/attachment.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/channel/message/attachment.ml b/lib/models/channel/message/attachment.ml
index cf52078..d720a81 100644
--- a/lib/models/channel/message/attachment.ml
+++ b/lib/models/channel/message/attachment.ml
@@ -8,4 +8,4 @@ type t = {
proxy_url: string;
height: int [@default -1];
width: int [@default -1];
-} [@@deriving sexp, yojson] \ No newline at end of file
+} [@@deriving sexp, yojson { strict = false; exn = true }] \ No newline at end of file