diff options
| author | Matias Goldfeld <[email protected]> | 2021-01-28 02:26:36 -0500 |
|---|---|---|
| committer | Matias Goldfeld <[email protected]> | 2021-01-28 02:26:36 -0500 |
| commit | c937240fdd2036edd493debb76117165e4084e8b (patch) | |
| tree | b0d89ca5795724b3bb804f2d65ee609217567ecd /lib/models/channel/channel.ml | |
| parent | More Int64 refactors (diff) | |
| download | disml-c937240fdd2036edd493debb76117165e4084e8b.tar.xz disml-c937240fdd2036edd493debb76117165e4084e8b.zip | |
Started conversion to ppx_yojson_conv
Diffstat (limited to 'lib/models/channel/channel.ml')
| -rw-r--r-- | lib/models/channel/channel.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/channel/channel.ml b/lib/models/channel/channel.ml index 4d7b29d..52eda02 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.to_yojson e
+ | Some e -> Embed.yojson_of_t e
| None -> `Null in
let content = match content with
| Some c -> `String c
|