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.
1 parent 99f4ae7 commit 7ef82e4Copy full SHA for 7ef82e4
src/content/docs/kv/api/write-key-value-pairs.mdx
@@ -152,7 +152,7 @@ export default {
152
// Helper function to attempt a write to KV and handle errors
153
const attemptWrite = async (i: number) => {
154
try {
155
- await env.simple_kv_hono_jsx.put(key, `Write attempt #${i}`);
+ await env. YOUR_KV_NAMESPACE.put(key, `Write attempt #${i}`);
156
return { attempt: i, success: true };
157
} catch (error) {
158
// An error may be thrown if a write to the same key is made within 1 second with a message. For example:
0 commit comments