Skip to content

Commit c3967f9

Browse files
Return this.sequelizePath.fieldName instead of this.sequelizePath.field to support underscore model option
1 parent 6ba562e commit c3967f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/property.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Property extends BaseProperty {
3232
}
3333

3434
name() {
35-
return this.sequelizePath.field
35+
return this.sequelizePath.fieldName
3636
}
3737

3838
isEditable() {

0 commit comments

Comments
 (0)