Skip to content

Commit

Permalink
[email protected]'s change on OpenFn.org
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksa-krolls committed Apr 21, 2024
1 parent a30070f commit 557c521
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion form-sharing/3-updateSheetsList.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//Compare new forms in Kobo with GoogleSheet list to see if new forms were shared in Kobo
fn(state => {
const { filteredKoboFormsData } = state;
const keywords = ['price', 'prix', 'bns', 'nrgt', 'grm', 'feedback'];
Expand Down Expand Up @@ -57,8 +58,9 @@ fn(state => {
return state;
});

//if new Kobo form shared, adding to the Google Sheet...
appendValues({
spreadsheetId: '1s7K3kxzm5AlpwiALattyc7D9_aIyqWmo2ubcQIUlqlY',
range: 'sheetsList of kobo forms!A:K',
values: state => state.sheetsData,
});
});

0 comments on commit 557c521

Please sign in to comment.