diff options
author | Florin T.PATRASCU <florin.patrascu@gmail.com> | 2016-08-04 21:44:50 -0400 |
---|---|---|
committer | Florin T.PATRASCU <florin.patrascu@gmail.com> | 2016-08-04 21:44:50 -0400 |
commit | 878fe485afd0fd0c3745c4be32939f688e213fd9 (patch) | |
tree | e25eabac6991026764410767bedfb451b420ac9f | |
parent | fe57da205709127c57a6de05746b749d6ee1e681 (diff) | |
download | boltex-878fe485afd0fd0c3745c4be32939f688e213fd9.tar.gz boltex-878fe485afd0fd0c3745c4be32939f688e213fd9.tar.xz |
small fix; use the auth instead of params
-rw-r--r-- | lib/boltex.ex | 2 |
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 |