Skip to content

Commit a71f71e

Browse files
author
Joel Alejandro Villarreal Bertoldi
authored
Merge pull request #14 from joelalejandro/fix/issue-13
Repairs Sequelize serialization
2 parents 93ba2b7 + 7e47e38 commit a71f71e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function generateFauxId(data) {
4040
* @return {Boolean}
4141
*/
4242
function mustParseAsSequelize(hook) {
43-
return hook.service.Model && hook.result.$options;
43+
return hook.service.Model;
4444
}
4545

4646
/**

0 commit comments

Comments
 (0)