From ae8cc11843a3f428e2c54af38a8b0147bfa69fa7 Mon Sep 17 00:00:00 2001 From: Aleksa Krolls Date: Mon, 22 Apr 2024 15:35:35 +0300 Subject: [PATCH] mtuchi@openfn.org's change on OpenFn.org --- form-sharing/2-getSheetsList.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/form-sharing/2-getSheetsList.js b/form-sharing/2-getSheetsList.js index c23a735..71bae1b 100644 --- a/form-sharing/2-getSheetsList.js +++ b/form-sharing/2-getSheetsList.js @@ -1,8 +1,7 @@ -//Get list of forms we definitely want to sync to the DB; compare with new forms in Kobo getValues( "1s7K3kxzm5AlpwiALattyc7D9_aIyqWmo2ubcQIUlqlY", //googlesheet id "sheetsList of kobo forms!A:K", - (state) => { + state => { const { koboForms, data } = state; const [headers, ...sheetsData] = data.values; const sheetsUids = sheetsData.map((row) => row[0]);