From 36eb2fce5586ed97211a543c1616b07e2675b224 Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Wed, 17 Jul 2024 14:30:00 +0200 Subject: [PATCH] fix: user type name in JS docs --- .../video/docusaurus/docs/api/basics/authentication.mdx | 4 ++-- docusaurus/video/docusaurus/docs/api/basics/get_started.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docusaurus/video/docusaurus/docs/api/basics/authentication.mdx b/docusaurus/video/docusaurus/docs/api/basics/authentication.mdx index 9835510b..2a50d84f 100644 --- a/docusaurus/video/docusaurus/docs/api/basics/authentication.mdx +++ b/docusaurus/video/docusaurus/docs/api/basics/authentication.mdx @@ -22,7 +22,7 @@ You can provide additional data for the user object using the `custom` field. ```js -const newUser: UserObjectRequest = { +const newUser: UserRequest = { id: 'userid', role: 'user', custom: { @@ -92,7 +92,7 @@ There are two ways to update user objects: ```js -const user: UserObjectRequest = { +const user: UserRequest = { id: 'userid', role: 'user', custom: { diff --git a/docusaurus/video/docusaurus/docs/api/basics/get_started.mdx b/docusaurus/video/docusaurus/docs/api/basics/get_started.mdx index 97e9158e..6f44045f 100644 --- a/docusaurus/video/docusaurus/docs/api/basics/get_started.mdx +++ b/docusaurus/video/docusaurus/docs/api/basics/get_started.mdx @@ -115,7 +115,7 @@ Tokens need to be generated server-side. Typically, you integrate this into the ```js const userId = 'john'; -const newUser: UserObjectRequest = { +const newUser: UserRequest = { id: userId, role: 'user', custom: {