Skip to content

Commit

Permalink
fix rollbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdemarzi committed Jan 23, 2014
1 parent 8737a75 commit e565ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/neography/rest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def commit_transaction(tx, statements=[])
end

def rollback_transaction(tx)
@transactions.add(tx)
@transactions.rollback(tx)
end

# nodes
Expand Down

0 comments on commit e565ecc

Please sign in to comment.