diff --git a/plugins/stronghold/guest-js/index.ts b/plugins/stronghold/guest-js/index.ts index 9450826b..26c03958 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 && v !== undefined) { + if (v) { return Uint8Array.from(v); } else { return null;