diff --git a/samples/javascript-v4-azurefunction/src/functions/stateOutputBinding.js b/samples/javascript-v4-azurefunction/src/functions/stateOutputBinding.js index 17cada3..875b3ce 100644 --- a/samples/javascript-v4-azurefunction/src/functions/stateOutputBinding.js +++ b/samples/javascript-v4-azurefunction/src/functions/stateOutputBinding.js @@ -1,6 +1,6 @@ const { app, output, trigger } = require('@azure/functions'); -const daprStateOuput = output.generic({ +const daprStateOutput = output.generic({ type: "daprState", stateStore: "%StateStoreName%", direction: "out", @@ -16,7 +16,7 @@ app.generic('StateOutputBinding', { route: "state/{key}", name: "req" }), - return: daprStateOuput, + return: daprStateOutput, handler: async (request, context) => { context.log("Node HTTP trigger function processed a request."); @@ -25,4 +25,4 @@ app.generic('StateOutputBinding', { return { value : payload }; } -}); \ No newline at end of file +});