Skip to content

Commit

Permalink
Update file 2024-07-03-ai-summary.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Mabbs committed Jul 3, 2024
1 parent 99ec7de commit 2fd191d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2024-07-03-ai-summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export default {
).bind(query).first("content");
}
if (result != data) {
await db.prepare("UPDATE blog_summary SET content = ?1 WHERE id = ?2")
await db.prepare("UPDATE blog_summary SET content = ?1, summary = NULL WHERE id = ?2")
.bind(data, query).run();
}
return new Response("OK", {
Expand Down

0 comments on commit 2fd191d

Please sign in to comment.