ソースを参照

fix: include scrape_cron column in getAllSitesWithAnalytics SELECT

The query explicitly enumerates columns and was missing s.scrape_cron, so
the /api/sites response always returned scrape_cron: null even after the
PATCH /schedule endpoint successfully persisted the value. The previous
fix updated the row->object mapping but left the SQL untouched, leaving
the UI input blank after Save.
fszontagh 2 ヶ月 前
コミット
055190799c
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/database/Database.ts

+ 1 - 0
src/database/Database.ts

@@ -651,6 +651,7 @@ export class SiteDatabase {
         s.custom_sitemap_url,
         s.custom_sitemap_url,
         s.max_crawl_depth,
         s.max_crawl_depth,
         s.max_pages,
         s.max_pages,
+        s.scrape_cron,
         s.qdrant_enabled,
         s.qdrant_enabled,
         s.deleted_at,
         s.deleted_at,
         s.created_at,
         s.created_at,