Skip to content

Commit

Permalink
Merge upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sync Fork committed Feb 4, 2024
1 parent ac70714 commit 82d3e07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/javascript/auth/refresh-session.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Note: The Nhost client automatically refreshes the session when the user is auth

```ts
// Refresh the session with the the current internal refresh token.
nhost.auth.refreshToken()
nhost.auth.refreshSession()

// Refresh the session with an external refresh token.
nhost.auth.refreshToken(refreshToken)
nhost.auth.refreshSession(refreshToken)
```

## Parameters
Expand Down

0 comments on commit 82d3e07

Please sign in to comment.