Add missing await

d62f18b523cef28a6ab73cbe8d0485d16e342cb8

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +1 -1Showing whitespace changes
public/scripts/extensions/expressions/index.js+1 -1
@@ -938,7 +938,7 @@ async function classifyCallback(/** @type {{api: string?, prompt: string?}} */ {
938 return '';938 return '';
939 }939 }
940940
941 const label = getExpressionLabel(text, expressionApi, { customPrompt: prompt });941 const label = await getExpressionLabel(text, expressionApi, { customPrompt: prompt });
942 console.debug(`Classification result for "${text}": ${label}`);942 console.debug(`Classification result for "${text}": ${label}`);
943 return label;943 return label;
944}944}