Skip to content

Commit 79c3d4d

Browse files
author
Harry Jian
authored
Fix test (#216)
1 parent 96000cd commit 79c3d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

new-sdks/tpp/sample/TokenRequestUrlSample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class TokenRequestUrlSample {
3939
const state = encodeURIComponent(JSON.stringify({innerState: 'state'}));
4040
const signature = await grantor.signTokenRequestState(tokenRequestId, token.id, state);
4141
return `http://localhost/path?tokenId=${token.id}` +
42-
`&state=${state}&signature=${encodeURIComponent(JSON.stringify(signature))}`;
42+
`&state=${encodeURIComponent(state)}&signature=${encodeURIComponent(JSON.stringify(signature))}`;
4343
}
4444

4545
/**

0 commit comments

Comments
 (0)