Skip to content

Commit 99570ce

Browse files
authored
Merge pull request #110521 from anthonychu/20200407-fix-readentitystate
Fix error in readEntityState
2 parents 7b69070 + 0f2b406 commit 99570ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-functions/durable/durable-functions-entities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ const df = require("durable-functions");
227227
module.exports = async function (context) {
228228
const client = df.getClient(context);
229229
const entityId = new df.EntityId("Counter", "myCounter");
230-
const stateResponse = await context.df.readEntityState(entityId);
230+
const stateResponse = await client.readEntityState(entityId);
231231
return stateResponse.entityState;
232232
};
233233
```

0 commit comments

Comments
 (0)