aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSara <[email protected]>2023-06-16 20:52:58 +0300
committerGitHub <[email protected]>2023-06-16 19:52:58 +0200
commitb9008bfceda52fe0940d15aa01555247b6ff83dc (patch)
tree74d9625b68d8128797219ac9adcc7763ff8890d0 /README.md
parent631f732cce775eba130e440e016dd58bc05c4a58 (diff)
downloadfaker-b9008bfceda52fe0940d15aa01555247b6ff83dc.tar.xz
faker-b9008bfceda52fe0940d15aa01555247b6ff83dc.zip
docs: replace deprecated datatype.uuid() with string.uuid() (#2214)
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index b6dbd6b8..6ee30005 100644
--- a/README.md
+++ b/README.md
@@ -64,7 +64,7 @@ const { faker } = require('@faker-js/faker');
export function createRandomUser(): User {
return {
- userId: faker.datatype.uuid(),
+ userId: faker.string.uuid(),
username: faker.internet.userName(),
email: faker.internet.email(),
avatar: faker.image.avatar(),