[bug] wrong variable name in handleDecryptState
This commit is contained in:
parent
c0d402b234
commit
0d51f9d056
@ -314,9 +314,9 @@ export async function registerAllListeners() {
|
||||
}
|
||||
|
||||
try {
|
||||
const { processId, stateId, token } = event.data;
|
||||
const { processId, stateId, accessToken } = event.data;
|
||||
|
||||
if (!token || await !tokenService.validateToken(token, event.origin)) {
|
||||
if (!accessToken || await !tokenService.validateToken(accessToken, event.origin)) {
|
||||
throw new Error('Invalid or expired session token');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user