Skip to content

Commit e1be3c1

Browse files
committed
fix transaction abort bug
1 parent 6e7da1d commit e1be3c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: lib/arangox/connection.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ defmodule Arangox.Connection do
346346
{:ok, _request, %Response{status: 200} = response, state} <-
347347
handle_execute(
348348
nil,
349-
%Request{method: :put, path: Path.join(@path_trx, id)},
349+
%Request{method: :delete, path: Path.join(@path_trx, id)},
350350
opts,
351351
%{state | headers: headers}
352352
)

Diff for: mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Arangox.MixProject do
22
use Mix.Project
33

4-
@version "0.5.3"
4+
@version "0.5.4"
55
@description """
66
ArangoDB 3.4+ driver for Elixir with connection pooling, support for \
77
VelocyStream, active failover, transactions and streamed cursors.

0 commit comments

Comments
 (0)