[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. 馃珫 Status page with uptime monitoring & API monitoring as code 馃珫 openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor

fix(importers): keep Better Stack follow_redirects on imported monitors (#2851) master

A Better Stack monitor with follow_redirects set to false was imported as a monitor that follows redirects, because the schema did not parse the field and mapMonitor never returned it. The monitor row then fell back to the column default of true. Parse follow_redirects (defaulting to true like Better Stack does) and return it from mapMonitor so writeMonitorsPhase stores it, the same way the Checkly importer does since #2834.


+13
4 changed files