From 1f8e8229cd6bcb1a910cd77eca5027f6bf6c077b Mon Sep 17 00:00:00 2001
From: Eric Lupinacci <eric@smellup.net>
Date: Sat, 18 Nov 2023 10:02:56 +0100
Subject: [PATCH] =?UTF-8?q?Fournir=20le=20nombre=20de=20jours=20de=20pr?=
 =?UTF-8?q?=C3=A9visions=20dans=20l'url=20pour=20=C3=A9tendre=20ceux=C2=A7?=
 =?UTF-8?q?ci=20au=20maximum=20de=20l'API?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 services/aeris.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/services/aeris.php b/services/aeris.php
index 8ec6ee9..b7e6a22 100644
--- a/services/aeris.php
+++ b/services/aeris.php
@@ -44,6 +44,7 @@ function aeris_service2url(array $lieu_normalise, string $mode, int $periodicite
 		$query = 'for=now';
 	} else {
 		$demande = 'forecasts/' . $lieu_normalise['id'];
+		$query = 'limit=' . $configuration['periodicites'][$periodicite]['max_jours'];
 	}
 
 	return
-- 
GitLab