Skip to content

Commit

Permalink
Fix test (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Jian authored Mar 19, 2019
1 parent 96000cd commit 79c3d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new-sdks/tpp/sample/TokenRequestUrlSample.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class TokenRequestUrlSample {
const state = encodeURIComponent(JSON.stringify({innerState: 'state'}));
const signature = await grantor.signTokenRequestState(tokenRequestId, token.id, state);
return `http://localhost/path?tokenId=${token.id}` +
`&state=${state}&signature=${encodeURIComponent(JSON.stringify(signature))}`;
`&state=${encodeURIComponent(state)}&signature=${encodeURIComponent(JSON.stringify(signature))}`;
}

/**
Expand Down

0 comments on commit 79c3d4d

Please sign in to comment.