This commit is contained in:
MAURA Mathieu
2026-06-15 15:58:50 +02:00
parent a635db900a
commit 6b651b7a3a
+2 -2
View File
@@ -444,9 +444,9 @@ def grist_priority_bals() -> dict:
""" """
try: try:
# 1. Récupération triée via l'API Grist # 1. Récupération triée via l'API Grist
params = f'{"limit": 1, "filter": {"priority": [True], {COL_SYNC}: [True]}}' params = {"limit": 1, "filter": {"priority": [True], COL_SYNC: [True]}}
resp = requests.get( resp = requests.get(
grist_url(TABLE_BALS), headers=GRIST_HEADERS, params=params, timeout=15 grist_url(TABLE_BALS), headers=GRIST_HEADERS, json=params, timeout=15
) )
resp.raise_for_status() resp.raise_for_status()