Skip to content

Commit

Permalink
refresh jsessionid on thinq1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin committed Jun 27, 2022
1 parent 49fc175 commit 55b3484
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/API.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,7 @@ export class API {
session = session || this.session;
this.session = await this.auth.refreshNewToken(session);

//unset jsessionid;
this.jsessionId = '';
this.jsessionId = await this.auth.getJSessionId(this.session.accessToken);
}

async thinq1PostRequest(endpoint: string, data: any) {
Expand Down

0 comments on commit 55b3484

Please sign in to comment.