From d7f2090f27c230651cae8a6208ec45c59eda6d80 Mon Sep 17 00:00:00 2001 From: Lim Ding Wen Date: Wed, 7 Aug 2024 18:26:32 +0800 Subject: [PATCH] Schedule refresh debate bill match view --- supabase/functions/per-10-min/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/supabase/functions/per-10-min/index.ts b/supabase/functions/per-10-min/index.ts index 9f72603..b66e971 100644 --- a/supabase/functions/per-10-min/index.ts +++ b/supabase/functions/per-10-min/index.ts @@ -3,9 +3,11 @@ import scrapeBillsPdf from "../lib/shared-functions/scrape-bills-pdf.ts"; import generateBillsSummary from "../lib/shared-functions/generate-bills-summary.ts"; import { buildResponse } from "../lib/utils/build-response.ts"; import generateDebateSummary from "../lib/shared-functions/generate-debate-summary.ts"; +import refreshDebateBillMatchView from "../lib/shared-functions/refresh-debate-bill-match-view.ts"; Deno.serve(async (req) => { return buildResponse([ + await refreshDebateBillMatchView(req), await scrapeBillsPdf(req), await generateBillsSummary(req), await generateDebateSummary(req),