Skip to content

Commit

Permalink
chore: use non-deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 authored Apr 6, 2022
1 parent 5e154e5 commit 1dff5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

0 comments on commit 1dff5dc

Please sign in to comment.