We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b69070 + 0f2b406 commit 99570ceCopy full SHA for 99570ce
articles/azure-functions/durable/durable-functions-entities.md
@@ -227,7 +227,7 @@ const df = require("durable-functions");
227
module.exports = async function (context) {
228
const client = df.getClient(context);
229
const entityId = new df.EntityId("Counter", "myCounter");
230
- const stateResponse = await context.df.readEntityState(entityId);
+ const stateResponse = await client.readEntityState(entityId);
231
return stateResponse.entityState;
232
};
233
```
0 commit comments