aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schaefermeyer <mschae@users.noreply.github.com>2016-08-05 05:39:25 +0200
committerGitHub <noreply@github.com>2016-08-05 05:39:25 +0200
commite96bc3e4bb208bcfb3b21dceeb948c487a65ee88 (patch)
treee25eabac6991026764410767bedfb451b420ac9f
parentfe57da205709127c57a6de05746b749d6ee1e681 (diff)
parent878fe485afd0fd0c3745c4be32939f688e213fd9 (diff)
downloadboltex-e96bc3e4bb208bcfb3b21dceeb948c487a65ee88.tar.gz
boltex-e96bc3e4bb208bcfb3b21dceeb948c487a65ee88.tar.xz
Merge pull request #3 from florinpatrascu/master
small fix; use the auth instead of params
-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