Skip to content

Commit 0c41e9b

Browse files
Update src/content/docs/durable-objects/api/namespace.mdx
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
1 parent 8cfdcb5 commit 0c41e9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/durable-objects/api/namespace.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ A [`DurableObjectId`](../id) refering to an instance of the Durable Object class
116116

117117
#### Description
118118

119-
`idFromString` creates a [`DurableObjectId`](../id) based on a previously generated ID which has been converted to a string. This method ensures the validity of the ID, e.g. that it is 64 hex digits.
119+
`idFromString` creates a [`DurableObjectId`](../id) from a previously generated ID that has been converted to a string. This method ensures the ID is valid, for example, it checks that the ID consists of 64 hex digits.
120120

121121
```js
122122
// Create a new unique ID

0 commit comments

Comments
 (0)