Skip to content

Commit 21f490e

Browse files
andreaseliaelithrar
authored andcommitted
[Workers AI] Fix typo in vector tutorial (#17189)
1 parent 7822744 commit 21f490e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workers-ai/tutorials/build-a-retrieval-augmented-generation-ai.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ app.delete("/notes/:id", async (c) => {
332332
const { id } = c.req.param();
333333

334334
const query = `DELETE FROM notes WHERE id = ?`;
335-
await c.env.DATABASE.prepare(query).bind(id).run();
335+
await c.env.DB.prepare(query).bind(id).run();
336336

337337
await c.env.VECTOR_INDEX.deleteByIds([id]);
338338

0 commit comments

Comments
 (0)