mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 08:00:59 +00:00
small deno-client fix
This commit is contained in:
+4
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user