mirror of
https://github.com/koush/scrypted.git
synced 2026-05-04 21:30:30 +01:00
cloud: remove legacy param
This commit is contained in:
4
plugins/cloud/package-lock.json
generated
4
plugins/cloud/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@scrypted/cloud",
|
||||
"version": "0.2.11",
|
||||
"version": "0.2.12",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@scrypted/cloud",
|
||||
"version": "0.2.11",
|
||||
"version": "0.2.12",
|
||||
"dependencies": {
|
||||
"@eneris/push-receiver": "^3.1.5",
|
||||
"@scrypted/common": "file:../../common",
|
||||
|
||||
@@ -53,5 +53,5 @@
|
||||
"@types/nat-upnp": "^1.1.5",
|
||||
"@types/node": "^20.11.19"
|
||||
},
|
||||
"version": "0.2.11"
|
||||
"version": "0.2.12"
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user