summary refs log tree commit diff
path: root/_posts/2024-07-03-ai-summary.md
diff options
context:
space:
mode:
authormayx2024-07-03 13:41:02 +0000
committermayx2024-07-03 13:41:02 +0000
commit2fd191d4186e663303f32a267ba331fb9baa8ad2 (patch)
tree207a812f12ffab945bf80835a086eed5513253d2 /_posts/2024-07-03-ai-summary.md
parent99ec7de3cdf035444afce8beae9a707229011744 (diff)
Update file 2024-07-03-ai-summary.md AR-Backup-2024.07.03
Diffstat (limited to '_posts/2024-07-03-ai-summary.md')
-rw-r--r--_posts/2024-07-03-ai-summary.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2024-07-03-ai-summary.md b/_posts/2024-07-03-ai-summary.md
index 06dfa8a..c44a41c 100644
--- a/_posts/2024-07-03-ai-summary.md
+++ b/_posts/2024-07-03-ai-summary.md
@@ -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", {