adapt slug faking to updated faker api

This commit is contained in:
mahula 2024-04-29 09:21:33 +02:00
parent e2654de55d
commit 166094c465

View File

@ -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(),