mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
adapt slug faking to updated faker api
This commit is contained in:
parent
e2654de55d
commit
166094c465
@ -77,7 +77,7 @@ const helpers = {
|
||||
id: faker.string.uuid(),
|
||||
title,
|
||||
content,
|
||||
slug: faker.lorem.slug(title),
|
||||
slug: faker.lorem.slug({ min: 1, max: 3 }, title),
|
||||
shoutedCount: faker.number.int(),
|
||||
commentsCount: faker.number.int(),
|
||||
clickedCount: faker.number.int(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user