diff --git a/plugins/snapshot/package-lock.json b/plugins/snapshot/package-lock.json index da3f9d7d9..46323c37c 100644 --- a/plugins/snapshot/package-lock.json +++ b/plugins/snapshot/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/snapshot", - "version": "0.2.54", + "version": "0.2.55", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/snapshot", - "version": "0.2.54", + "version": "0.2.55", "dependencies": { "@types/node": "^20.10.6", "sharp": "^0.33.1", diff --git a/plugins/snapshot/package.json b/plugins/snapshot/package.json index ef488c415..a270c5b29 100644 --- a/plugins/snapshot/package.json +++ b/plugins/snapshot/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/snapshot", - "version": "0.2.54", + "version": "0.2.55", "description": "Snapshot Plugin for Scrypted", "scripts": { "scrypted-setup-project": "scrypted-setup-project", diff --git a/plugins/snapshot/src/main.ts b/plugins/snapshot/src/main.ts index 146dde2a3..e38686411 100644 --- a/plugins/snapshot/src/main.ts +++ b/plugins/snapshot/src/main.ts @@ -728,7 +728,7 @@ export class SnapshotPlugin extends AutoenableMixinProvider implements MixinProv } }; - if (mixin.storageSettings.values.snapshotResolution === 'Full Resolution') + if (mixin?.storageSettings.values.snapshotResolution === 'Full Resolution') delete rpo.picture; if (mixin && iface === ScryptedInterface.Camera) {