From 5064eb389bac1f1552d2d2a6bf88c048e140e886 Mon Sep 17 00:00:00 2001 From: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Date: Sat, 22 Jul 2023 10:04:46 +0100 Subject: [PATCH] Make method actually async --- js/presetText.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/presetText.js b/js/presetText.js index 841ddfa..8b89daa 100644 --- a/js/presetText.js +++ b/js/presetText.js @@ -201,7 +201,7 @@ app.registerExtension({ } let called = false; - const serializeValue = (workflowNode, widgetIndex) => { + const serializeValue = async (workflowNode, widgetIndex) => { const widgetValue = widget.value; if (called) return widgetValue; called = true;