diff options
author | Michael Schaefermeyer <mschae@users.noreply.github.com> | 2016-08-05 05:39:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-05 05:39:25 +0200 |
commit | e96bc3e4bb208bcfb3b21dceeb948c487a65ee88 (patch) | |
tree | e25eabac6991026764410767bedfb451b420ac9f /lib/boltex.ex | |
parent | fe57da205709127c57a6de05746b749d6ee1e681 (diff) | |
parent | 878fe485afd0fd0c3745c4be32939f688e213fd9 (diff) | |
download | boltex-e96bc3e4bb208bcfb3b21dceeb948c487a65ee88.tar.gz boltex-e96bc3e4bb208bcfb3b21dceeb948c487a65ee88.tar.xz |
Merge pull request #3 from florinpatrascu/master
small fix; use the auth instead of params
Diffstat (limited to 'lib/boltex.ex')
-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 |