Skip to content

Commit

Permalink
fix: lts/boron unsupported syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Sep 16, 2018
1 parent 672197b commit 5289188
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ class Client {

const {
post_logout_redirect_uri = length === 1 ? postLogout : undefined,
...rest
} = params;

let hint = params.id_token_hint;
Expand All @@ -295,7 +294,7 @@ class Client {

const target = url.parse(this.issuer.end_session_endpoint, true);
target.search = null;
target.query = Object.assign(rest, target.query, {
target.query = Object.assign(params, target.query, {
post_logout_redirect_uri,
id_token_hint: hint,
});
Expand Down

0 comments on commit 5289188

Please sign in to comment.