Skip to content

Commit

Permalink
replace exjsx with Poison
Browse files Browse the repository at this point in the history
  • Loading branch information
zolazhou committed Nov 27, 2015
1 parent c17a132 commit 1d33edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/consul/agent/check.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defmodule Consul.Agent.Check do
@spec register(map, Keyword.t) :: Endpoint.response
def register(body, opts \\ []) do
build_url([@agent, @check, @register], opts)
|> req_put(JSX.encode!(body))
|> req_put(Poison.encode!(body))
end

@spec deregister(binary, Keyword.t) :: Endpoint.response
Expand Down

0 comments on commit 1d33edd

Please sign in to comment.