From 1dff5dc915bdce7fc1239e809251accb6e4f5308 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Wed, 6 Apr 2022 09:48:55 +0200 Subject: [PATCH] chore: use non-deprecated function --- src/database.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database.ts b/src/database.ts index 9d746fd5a61..8b80c927808 100644 --- a/src/database.ts +++ b/src/database.ts @@ -68,6 +68,6 @@ export class Database { */ mongodbObjectId(): string { // strip the "0x" from the hexadecimal output - return this.faker.datatype.hexaDecimal(24).replace('0x', '').toLowerCase(); + return this.faker.datatype.hexadecimal(24).replace('0x', '').toLowerCase(); } }