From be5b2fb4a51140bbc59318047e57cd1dc4919a7b Mon Sep 17 00:00:00 2001 From: baudointran Date: Wed, 6 Mar 2024 16:29:53 +0100 Subject: [PATCH] fix: get dossiers by update since --- src/demarche/demarche.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/demarche/demarche.ts b/src/demarche/demarche.ts index c2c5c64..68f355c 100644 --- a/src/demarche/demarche.ts +++ b/src/demarche/demarche.ts @@ -86,8 +86,9 @@ export const getDemarcheDossierIds = async ( variables["updatedSince"] = updatedSince; } - return graphQlRequest(client, queryDemarcheDossierIds, { - demarcheNumber: idDemarche, + return graphQlRequest( + client, + queryDemarcheDossierIds, variables, - }); + ); };