summaryrefslogtreecommitdiff
path: root/lib/polyjuice/client/endpoint/put_rooms_send.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/polyjuice/client/endpoint/put_rooms_send.ex')
-rw-r--r--lib/polyjuice/client/endpoint/put_rooms_send.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/polyjuice/client/endpoint/put_rooms_send.ex b/lib/polyjuice/client/endpoint/put_rooms_send.ex
index 855f346..1bb2ee8 100644
--- a/lib/polyjuice/client/endpoint/put_rooms_send.ex
+++ b/lib/polyjuice/client/endpoint/put_rooms_send.ex
@@ -45,7 +45,7 @@ defmodule Polyjuice.Client.Endpoint.PutRoomsSend do
base_url
) do
e = &URI.encode_www_form/1
- body = Jason.encode!(message)
+ body = Jason.encode_to_iodata!(message)
%Polyjuice.Client.Endpoint.HttpSpec{
method: :put,