Skip to content

Commit

Permalink
Merge pull request #16 from seegno/enhancement/plugin-class-anonymous
Browse files Browse the repository at this point in the history
Update plugin to export anonymously
  • Loading branch information
nunorafaelrocha authored Aug 11, 2017
2 parents ae37092 + 0a44c99 commit 89d5caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = options => {
}, options);

return Model => {
return class GuidIdPlugin extends Model {
return class extends Model {

/**
* Before insert.
Expand Down

0 comments on commit 89d5caa

Please sign in to comment.