diff options
Diffstat (limited to 'lib/boltex.ex')
-rw-r--r-- | lib/boltex.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/boltex.ex b/lib/boltex.ex index af1a770..876ba44 100644 --- a/lib/boltex.ex +++ b/lib/boltex.ex @@ -1,13 +1,13 @@ defmodule Boltex do alias Boltex.Bolt - def test(host, port, query, params \\ %{}) do + def test(host, port, query, params \\ %{}, auth \\ nil) do {:ok, p} = :gen_tcp.connect host, port, [active: false, mode: :binary, packet: :raw] :ok = Bolt.handshake :gen_tcp, p :ok = Bolt.init :gen_tcp, p, params - IO.inspect Bolt.run_statement(:gen_tcp, p, query, params) + IO.inspect Bolt.run_statement(:gen_tcp, p, query) end end |