From 79858fea203bce7ada9e9bcc7751f6ab25123977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leyla=20J=C3=A4hnig?= Date: Tue, 18 Oct 2022 19:29:43 +0200 Subject: feat(string): move methods to new module (#1155) Co-authored-by: Eric Cheng Co-authored-by: ST-DDT Co-authored-by: Shinigami92 --- src/modules/database/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/database') diff --git a/src/modules/database/index.ts b/src/modules/database/index.ts index 8a4291f9..d0985c53 100644 --- a/src/modules/database/index.ts +++ b/src/modules/database/index.ts @@ -79,9 +79,9 @@ export class DatabaseModule { * @since 6.2.0 */ mongodbObjectId(): string { - return this.faker.datatype.hexadecimal({ + return this.faker.string.hexadecimal({ length: 24, - case: 'lower', + casing: 'lower', prefix: '', }); } -- cgit v1.2.3