From 688db5d5e43009a9ddfcebf6243244285da058b3 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 20 Aug 2023 12:49:36 +0200 Subject: [PATCH] small deno-client fix --- deno-client/mod.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deno-client/mod.ts b/deno-client/mod.ts index 25f8ff711d..3ccf41a683 100644 --- a/deno-client/mod.ts +++ b/deno-client/mod.ts @@ -62,7 +62,10 @@ export async function getResource( const workspace = getWorkspace(); path = path ?? getStatePath(); try { - return ResourceService.getResourceValueInterpolated({ workspace, path }); + return await ResourceService.getResourceValueInterpolated({ + workspace, + path, + }); } catch (e: any) { if (undefinedIfEmpty && e.status === 404) { return undefined;