Skip to content

Commit

Permalink
cloud: remove legacy param
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 7, 2024
1 parent 1c3c75d commit 0e1305e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions plugins/cloud/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@
"@types/nat-upnp": "^1.1.5",
"@types/node": "^20.11.19"
},
"version": "0.2.11"
"version": "0.2.12"
}
4 changes: 1 addition & 3 deletions plugins/cloud/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,7 @@ class ScryptedCloud extends ScryptedDeviceBase implements OauthClient, Settings,
const { userToken, userTokenSignature } = scope.body;
const tokens = qsstringify({
user_token: userToken,
// no longer exists. this is a legacy field.
user_token_signature: userTokenSignature
})
});

const url = `${baseUrl}${local.pathname}?${tokens}`;
this.whitelisted.set(local.pathname, url);
Expand Down

0 comments on commit 0e1305e

Please sign in to comment.