不要怂,就是干,撸起袖子干!

Commit 54b3b371 by Mick Hansen

fix jshint

1 parent 47e02c43
Showing with 1 additions and 1 deletions
...@@ -24,7 +24,7 @@ var Transaction = module.exports = function(sequelize, options) { ...@@ -24,7 +24,7 @@ var Transaction = module.exports = function(sequelize, options) {
isolationLevel: sequelize.options.isolationLevel isolationLevel: sequelize.options.isolationLevel
}, options || {}); }, options || {});
this.parent = this.options.transaction this.parent = this.options.transaction;
this.id = this.parent ? this.parent.id : uuid.v4(); this.id = this.parent ? this.parent.id : uuid.v4();
if (this.parent) { if (this.parent) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!