From 0d51b11dcddd525c206d218e8a88c78b99675c7e Mon Sep 17 00:00:00 2001 From: rafaelsideguide <150964962+rafaelsideguide@users.noreply.github.com> Date: Wed, 5 Jun 2024 15:02:28 -0300 Subject: [PATCH] missing breaks --- apps/api/src/scraper/WebScraper/single_url.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/api/src/scraper/WebScraper/single_url.ts b/apps/api/src/scraper/WebScraper/single_url.ts index 188a454..41d4274 100644 --- a/apps/api/src/scraper/WebScraper/single_url.ts +++ b/apps/api/src/scraper/WebScraper/single_url.ts @@ -337,8 +337,10 @@ export async function scrapSingleUrl( switch (customScraperResult.scraper) { case "fire-engine": customScrapedContent = await scrapWithFireEngine(customScraperResult.url, customScraperResult.waitAfterLoad, false, customScraperResult.pageOptions) + break; case "pdf": customScrapedContent = { html: await fetchAndProcessPdf(customScraperResult.url), screenshot } + break; } }