Remove sequence for slug as it's not needed

This commit is contained in:
mattwr18 2020-02-18 13:40:48 +01:00
parent 6f6b1534df
commit 1b62dc3b2e

View File

@ -28,9 +28,6 @@ Factory.define('category')
.attr('id', uuid)
.attr('icon', 'globe')
.attr('name', 'Global Peace & Nonviolence')
.sequence('slug', i => {
return `global-peace-nonviolence-${i}`
})
.after((buildObject, options) => {
return neode.create('Category', buildObject)
})