diff --git a/plugins/stronghold/guest-js/index.ts b/plugins/stronghold/guest-js/index.ts index aa58d966..9450826b 100644 --- a/plugins/stronghold/guest-js/index.ts +++ b/plugins/stronghold/guest-js/index.ts @@ -299,7 +299,7 @@ export class Store { client: this.client, key: toBytesDto(key), }).then((v) => { - if (v !== null || undefined) { + if (v !== null && v !== undefined) { return Uint8Array.from(v); } else { return null;