Skip to content

Commit 9c87baf

Browse files
committedMar 5, 2025
removed getUser call from setAccessToken
1 parent de2b733 commit 9c87baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/sdk/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class MermaidChart {
153153
public async setAccessToken(accessToken: string): Promise<void> {
154154
this.axios.defaults.headers.common['Authorization'] = `Bearer ${accessToken}`;
155155
// This is to verify that the token is valid
156-
await this.getUser();
156+
// await this.getUser();
157157
this.accessToken = accessToken;
158158
}
159159

0 commit comments

Comments
 (0)
Failed to load comments.