This commit is contained in:
2025-06-09 00:15:51 +09:00
parent 9827d50aab
commit d4633daa2e
2 changed files with 1 additions and 11 deletions

View File

@ -231,12 +231,11 @@ export async function saveFeed(
if (existingFeed) {
// Update existing feed
const updateStmt = db.prepare(
"UPDATE feeds SET title = ?, description = ?, category = ?, last_updated = ?, active = ? WHERE url = ?",
"UPDATE feeds SET title = ?, description = ?, last_updated = ?, active = ? WHERE url = ?",
);
updateStmt.run(
feed.title || null,
feed.description || null,
feed.category || null,
feed.lastUpdated || null,
feed.active !== undefined ? (feed.active ? 1 : 0) : 1,
feed.url,