Skip to content

Commit 4791364

Browse files
authored
PCX Review
1 parent e967de8 commit 4791364

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/content/docs/durable-objects/examples/sql-migration.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default {
128128
// Inserts a user into the 'users' table
129129
stub.insertUser("John");
130130

131-
return new Response("User inserted", { status: 200 });
131+
return new Response("User inserted successfully", { status: 200 });
132132
},
133133
} satisfies ExportedHandler<Env>;
134134
```
@@ -140,6 +140,7 @@ Finally, configure your Wrangler file to include a Durable Object [binding](/dur
140140
<WranglerConfig>
141141

142142
```toml title="wrangler.toml"
143+
main = "src/index.ts"
143144
name = "sql-migration-do"
144145

145146
[[durable_objects.bindings]]

0 commit comments

Comments
 (0)