Skip to content

Commit 7e47e38

Browse files
committed
fixed invalid condition for mustParseAsSequelize()
1 parent 93ba2b7 commit 7e47e38

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)