diff --git a/plugins/stronghold/guest-js/index.ts b/plugins/stronghold/guest-js/index.ts index 678dee58..842e3779 100644 --- a/plugins/stronghold/guest-js/index.ts +++ b/plugins/stronghold/guest-js/index.ts @@ -300,10 +300,10 @@ export class Store { key: toBytesDto(key), }).then((v) => { if (v !== null || undefined) { - Uint8Array.from(v) + return Uint8Array.from(v); } else { - null + return null; } }) }