mirror of
https://github.com/Mabbs/mabbs.github.io
synced 2025-07-20 08:12:02 +00:00
Update file 2024-07-03-ai-summary.md
This commit is contained in:
parent
99ec7de3cd
commit
2fd191d418
@ -196,7 +196,7 @@ export default {
|
|||||||
).bind(query).first("content");
|
).bind(query).first("content");
|
||||||
}
|
}
|
||||||
if (result != data) {
|
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();
|
.bind(data, query).run();
|
||||||
}
|
}
|
||||||
return new Response("OK", {
|
return new Response("OK", {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user