Skip to content

Commit

Permalink
Update stateOutputBinding.js (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
ASHIQUEMD authored Nov 21, 2023
1 parent 1a75c70 commit 11fccf9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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.");

Expand All @@ -25,4 +25,4 @@ app.generic('StateOutputBinding', {

return { value : payload };
}
});
});

0 comments on commit 11fccf9

Please sign in to comment.