fix(trait): syntax error (#37)

This commit is contained in:
Will Vincent 2019-01-21 03:04:24 -06:00 committed by Romain Lanz
parent 8e46d02ed1
commit fd621ca5ae

View File

@ -2,12 +2,13 @@
class NoTimestamp { class NoTimestamp {
register (Model) { register (Model) {
Object.defineProperties(Model, 'createdAtColumn', { Object.defineProperties(Model, {
get () { return null } createdAtColumn: {
}) get: () => null,
},
Object.defineProperties(Model, 'updatedAtColumn', { updatedAtColumn: {
get () { return null } get: () => null,
},
}) })
} }
} }