snapshot: fix perma broken nvr snapshots

This commit is contained in:
Koushik Dutta
2024-08-21 12:03:29 -07:00
parent e490225c4a
commit e34a5a7c3d
3 changed files with 4 additions and 4 deletions

View File

@@ -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",

View File

@@ -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",

View File

@@ -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) {