node-pg-transaction icon indicating copy to clipboard operation
node-pg-transaction copied to clipboard

Issue on rollback function

Open shady77 opened this issue 11 years ago • 0 comments

Current code:

if(typeof(savepoint) === 'function'){ savepoint = null; callback = savepoint; }

should be:

if(typeof(savepoint) === 'function'){ callback = savepoint; savepoint = null; }

shady77 avatar Nov 01 '14 16:11 shady77