Skip to content

Commit 54ae402

Browse files
committed
Dirty fix on jwt returned value
1 parent b9167b3 commit 54ae402

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/server/src/accounts-server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ export class AccountsServer {
412412
let sessionId;
413413
try {
414414
jwt.verify(refreshToken, this._options.tokenSecret);
415-
const decodedAccessToken = jwt.verify(
415+
const decodedAccessToken: any = jwt.verify(
416416
accessToken,
417417
this._options.tokenSecret,
418418
{
@@ -574,7 +574,7 @@ export class AccountsServer {
574574

575575
let sessionId;
576576
try {
577-
const decodedAccessToken = jwt.verify(
577+
const decodedAccessToken: any = jwt.verify(
578578
accessToken,
579579
this._options.tokenSecret
580580
);

0 commit comments

Comments
 (0)