mirror of
https://github.com/cjdenio/trax-accidents.git
synced 2026-12-01 03:06:19 +00:00
fix
This commit is contained in:
2 files changed
+4
-3
No files matched your search
@@ -0,0 +1,3 @@
|
||||
import sync from "./sync-rss.js";
|
||||
|
||||
await sync.scheduled();
|
||||
+1
-3
@@ -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,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user