Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Jun 6, 2023
1 parent 8ef184f commit de695bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ Important to realize is that the authentication state in the SDK is build around

```ts
async function switchOrganization(newOrganization: string) {
await logout({ openUrl: false });
await loginWithRedirect({
await client.logout({ openUrl: false });
await client.loginWithRedirect({
authorizationParams: {
organization: newOrganization
}
Expand Down

0 comments on commit de695bf

Please sign in to comment.