aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFlorin T.PATRASCU <florin.patrascu@gmail.com>2016-08-04 21:44:50 -0400
committerFlorin T.PATRASCU <florin.patrascu@gmail.com>2016-08-04 21:44:50 -0400
commit878fe485afd0fd0c3745c4be32939f688e213fd9 (patch)
treee25eabac6991026764410767bedfb451b420ac9f /lib
parentfe57da205709127c57a6de05746b749d6ee1e681 (diff)
downloadboltex-878fe485afd0fd0c3745c4be32939f688e213fd9.tar.gz
boltex-878fe485afd0fd0c3745c4be32939f688e213fd9.tar.xz
small fix; use the auth instead of params
Diffstat (limited to 'lib')
-rw-r--r--lib/boltex.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/boltex.ex b/lib/boltex.ex
index 876ba44..992009f 100644
--- a/lib/boltex.ex
+++ b/lib/boltex.ex
@@ -5,7 +5,7 @@ defmodule Boltex 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
+ :ok = Bolt.init :gen_tcp, p, auth
IO.inspect Bolt.run_statement(:gen_tcp, p, query)
end