diff --git a/server/scripts/modules/hazards.mjs b/server/scripts/modules/hazards.mjs index b94c661..8efd8f7 100644 --- a/server/scripts/modules/hazards.mjs +++ b/server/scripts/modules/hazards.mjs @@ -39,7 +39,6 @@ class Hazards extends WeatherDisplay { // get the forecast const url = new URL('https://api.weather.gov/alerts/active'); url.searchParams.append('point', `${this.weatherParameters.latitude},${this.weatherParameters.longitude}`); - url.searchParams.append('limit', 5); const alerts = await json(url, { retryCount: 3, stillWaiting: () => this.stillWaiting() }); const unsortedAlerts = alerts.features ?? []; const hasImmediate = unsortedAlerts.reduce((acc, hazard) => acc || hazard.properties.urgency === 'Immediate', false);