aboutsummaryrefslogtreecommitdiff
path: root/lib/models/channel/channel.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/channel.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/channel.ml')
-rw-r--r--lib/models/channel/channel.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/channel/channel.ml b/lib/models/channel/channel.ml
index 52eda02..4d7b29d 100644
--- a/lib/models/channel/channel.ml
+++ b/lib/models/channel/channel.ml
@@ -6,7 +6,7 @@ exception No_message_found
let send_message ?embed ?content ?file ?(tts=false) ch =
let embed = match embed with
- | Some e -> Embed.yojson_of_t e
+ | Some e -> Embed.to_yojson e
| None -> `Null in
let content = match content with
| Some c -> `String c