From d9a7a8835d05b5c5d2ba1fec8a3ef5ac0f8b7e41 Mon Sep 17 00:00:00 2001 From: martins Date: Fri, 31 Mar 2023 17:52:14 +0200 Subject: [PATCH] correctif bug in extremis --- riot/app.riot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riot/app.riot b/riot/app.riot index e706cf3..54d32ac 100644 --- a/riot/app.riot +++ b/riot/app.riot @@ -49,7 +49,7 @@ async getData(detail, type){ if(!localStorage.getItem(`${type}+${detail}`)){ - let rep = await fetch(`https://data.enseignementsup-recherche.gouv.fr/api/records/1.0/search/?dataset=fr-esr-parcoursup&q=&sort=tri&facet=session&facet=contrat_etab&facet=cod_uai&facet=g_ea_lib_vx&facet=dep_lib&facet=region_etab_aff&facet=acad_mies&facet=ville_etab&facet=lib_for_voe_ins&facet=select_form&facet=fili&facet=form_lib_voe_acc&facet=fil_lib_voe_acc&facet=detail_forma&facet=tri&facet=cod_aff_form&facet=etablissement_id_paysage&facet=composante_id_paysage&refine.form_lib_voe_acc=${encodeURIComponent(type)}&refine.fil_lib_voe_acc=${encodeURIComponent(detail)}&timezone=Europe%2FBerlin&rows=352&refine.sexe=F`); + let rep = await fetch(`https://data.enseignementsup-recherche.gouv.fr/api/records/1.0/search/?dataset=fr-esr-parcoursup&q=&sort=tri&facet=session&facet=contrat_etab&facet=cod_uai&facet=g_ea_lib_vx&facet=dep_lib&facet=region_etab_aff&facet=acad_mies&facet=ville_etab&facet=lib_for_voe_ins&facet=select_form&facet=fili&facet=form_lib_voe_acc&facet=fil_lib_voe_acc&facet=detail_forma&facet=tri&facet=cod_aff_form&facet=etablissement_id_paysage&facet=composante_id_paysage&refine.form_lib_voe_acc=${encodeURIComponent(type)}&refine.fil_lib_voe_acc=${encodeURIComponent(detail)}&timezone=Europe%2FBerlin&rows=10000&refine.sexe=F`); rep = await rep.json(); localStorage.setItem(`${type}+${detail}`, JSON.stringify(rep))