Skip to content

Commit

Permalink
fix: user type name in JS docs (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
szuperaz authored Jul 17, 2024
2 parents 8a02e9f + 36eb2fc commit 4780d75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You can provide additional data for the user object using the `custom` field.
<TabItem value="js" label="JavaScript">

```js
const newUser: UserObjectRequest = {
const newUser: UserRequest = {
id: 'userid',
role: 'user',
custom: {
Expand Down Expand Up @@ -92,7 +92,7 @@ There are two ways to update user objects:
<TabItem value="js" label="JavaScript">

```js
const user: UserObjectRequest = {
const user: UserRequest = {
id: 'userid',
role: 'user',
custom: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 4780d75

Please sign in to comment.