diff --git a/sdk/nodejs/runtime/invoke.ts b/sdk/nodejs/runtime/invoke.ts index 5f1965fd64b6..e60f31d190cc 100644 --- a/sdk/nodejs/runtime/invoke.ts +++ b/sdk/nodejs/runtime/invoke.ts @@ -75,7 +75,7 @@ export function invoke(tok: string, props: Inputs, opts: InvokeOptions = {}): Pr } /* - * `invokeSingle` dynamically invokes the function, `tok`, which is offered by a provider plugin. + * `invokeSingle` dynamically invokes the function, `tok`, which is offered by a provider plugin. * Similar to `invoke`, but returns a single value instead of an object with a single key. */ export function invokeSingle(tok: string, props: Inputs, opts: InvokeOptions = {}): Promise { @@ -84,7 +84,7 @@ export function invokeSingle(tok: string, props: Inputs, opts: InvokeOptions = { const keys = Object.keys(outputs); // return the first key's value from the outputs return outputs[keys[0]]; - }) + }); } export async function streamInvoke(