diff --git a/plugins/cloud/package-lock.json b/plugins/cloud/package-lock.json index d029e6879d..bfaa5d99ab 100644 --- a/plugins/cloud/package-lock.json +++ b/plugins/cloud/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/cloud", - "version": "0.2.14", + "version": "0.2.15", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@scrypted/cloud", - "version": "0.2.14", + "version": "0.2.15", "dependencies": { "@eneris/push-receiver": "^3.1.5", "@scrypted/common": "file:../../common", diff --git a/plugins/cloud/package.json b/plugins/cloud/package.json index 05ba42f53a..98aee11308 100644 --- a/plugins/cloud/package.json +++ b/plugins/cloud/package.json @@ -53,5 +53,5 @@ "@types/nat-upnp": "^1.1.5", "@types/node": "^20.14.6" }, - "version": "0.2.14" + "version": "0.2.15" } diff --git a/plugins/cloud/src/main.ts b/plugins/cloud/src/main.ts index 57d85752f6..8cb64f3309 100644 --- a/plugins/cloud/src/main.ts +++ b/plugins/cloud/src/main.ts @@ -531,8 +531,9 @@ class ScryptedCloud extends ScryptedDeviceBase implements OauthClient, Settings, throw new Error('@scrypted/cloud is not logged in.'); const q = qsstringify({ scope: local.pathname, + serverId: this.storageSettings.values.serverId, ttl, - }) + }); const scope = await httpFetch({ url: `https://${this.getHostname()}/_punch/scope?${q}`, headers: {