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

Commit e9434d0a by Mick Hansen

fix typo if statement

1 parent 42050b70
Showing with 1 additions and 1 deletions
......@@ -143,7 +143,7 @@ module.exports = (function() {
if (this.options.updatedAt !== false) {
this._timestampAttributes.updatedAt = this.options.updatedAt || Utils._.underscoredIf('updatedAt', this.options.underscored);
}
if (this.options.paranoid !== false && this.options.deletedAt) {
if (this.options.paranoid && this.options.deletedAt !== false) {
this._timestampAttributes.deletedAt = this.options.deletedAt || Utils._.underscoredIf('deletedAt', this.options.underscored);
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!