Skip to content

Commit cc3db5e

Browse files
Apply suggestions from code review
Co-authored-by: marciocloudflare <[email protected]>
1 parent c5b22d2 commit cc3db5e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/docs/durable-objects/examples/reference-do-name-using-init.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class MyDurableObject extends DurableObject<Env> {
9999
return "This is not in the RpcTarget";
100100
}
101101

102-
// * Function that takes the user's name and doesn't use the Durable Object identifier
102+
// * Function that takes the user's name and does not use the Durable Object identifier
103103
// * @param userName - The user's name to include in the greeting
104104

105105
async simpleGreeting(userName: string) {
@@ -126,7 +126,7 @@ export default {
126126
// The DO identifier is passed in the RpcTarget
127127
const greeting = await rpcTarget.computeMessage("world");
128128

129-
// Call the Durable Object method that doesn't use the Durable Object identifier
129+
// Call the Durable Object method that does not use the Durable Object identifier
130130
const simpleGreeting = await rpcTarget.simpleGreeting("world");
131131

132132
// Clean up the RpcTarget.
@@ -220,7 +220,7 @@ export class MyDurableObject extends DurableObject<Env> {
220220
return "This is not in the RpcTarget";
221221
}
222222

223-
// * Function that takes the user's name and doesn't use the Durable Object identifier
223+
// * Function that takes the user's name and does not use the Durable Object identifier
224224
// * @param userName - The user's name to include in the greeting
225225

226226
async simpleGreeting(userName: string) {
@@ -247,7 +247,7 @@ export default {
247247
// The DO identifier is stored in the Durable Object's storage
248248
const greeting = await rpcTarget.computeMessage("world");
249249

250-
// Call the Durable Object method that doesn't use the Durable Object identifier
250+
// Call the Durable Object method that does not use the Durable Object identifier
251251
const simpleGreeting = await rpcTarget.simpleGreeting("world");
252252

253253
// Clean up the RpcTarget.

0 commit comments

Comments
 (0)