This commit is contained in:
cjdenio committed 2026-11-03 12:17:22 -07:00
1 parent b91b59ef50
commit e554dc99ff
2 files changed
+4 -3

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
import sync from "./sync-rss.js";
await sync.scheduled();
+1 -3
View File
@@ -38,9 +38,7 @@ export default {
) VALUES ($id, $date, $content, $isCollision) ON CONFLICT DO NOTHING`,
).run({
$id: alert.uuid,
$date: new Date(
alert.active_period[0].start * 1000,
).toISOString(),
$date: new Date().toISOString(),
$content: content,
$isCollision: result !== null,
});