From 7ad203a0249bd9db50dfb1df4adb9b7483406e30 Mon Sep 17 00:00:00 2001 From: Matias Goldfeld Date: Fri, 29 Jan 2021 13:40:29 -0500 Subject: Revert "Started conversion to ppx_yojson_conv" This reverts commit c937240fdd2036edd493debb76117165e4084e8b. --- lib/models/channel/channel.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/models/channel/channel.ml') 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 -- cgit v1.2.3