Skip to content

Commit

Permalink
Fix typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
villelahdenvuo committed Apr 21, 2017
1 parent efdfde4 commit 752c119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ model.on('destroying', (model, options) => {
if (options.softDelete) console.log(`User ${model.id} is being soft deleted!`)
})

model.on('destroying', (model, options) => {
model.on('destroyed', (model, options) => {
if (options.softDelete) console.log(`User ${model.id} has been soft deleted!`)
})

Expand Down

0 comments on commit 752c119

Please sign in to comment.