From 5ff304d9a6c4bf02f8e9980b5529b6cbfe0664f0 Mon Sep 17 00:00:00 2001 From: Ludea Date: Mon, 12 Jun 2023 13:30:15 +0200 Subject: [PATCH] return statement --- plugins/stronghold/guest-js/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }) }