diff --git a/plugins/stronghold/guest-js/index.ts b/plugins/stronghold/guest-js/index.ts index 842e3779..42c27264 100644 --- a/plugins/stronghold/guest-js/index.ts +++ b/plugins/stronghold/guest-js/index.ts @@ -299,13 +299,12 @@ export class Store { client: this.client, key: toBytesDto(key), }).then((v) => { - if (v !== null || undefined) { - return Uint8Array.from(v); - } - else { - return null; - } - }) + if (v !== null || undefined) { + return Uint8Array.from(v); + } else { + return null; + } + }); } async insert(