From 93c3dcde1bead617cab2a2c10028174cd5f22727 Mon Sep 17 00:00:00 2001 From: Aleksa Krolls Date: Tue, 14 May 2024 15:02:28 +0300 Subject: [PATCH] Update 3-updateSheetsList.js --- form-sharing/3-updateSheetsList.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/form-sharing/3-updateSheetsList.js b/form-sharing/3-updateSheetsList.js index 32ba82a..8d39efa 100644 --- a/form-sharing/3-updateSheetsList.js +++ b/form-sharing/3-updateSheetsList.js @@ -38,6 +38,8 @@ fn(state => { const workspaceName = name => containsGRMFeedback(name) ? 'Grievances' : 'ConSoSci'; + const status = 'deployed'; //if we assume only deployed forms will be fetched + state.sheetsData = filteredKoboFormsData.map(form => { const formName = form.name; return [ @@ -48,6 +50,7 @@ fn(state => { instance(formName), projectId(formName), grmID(formName), + status, workspaceName(formName), form.url, form.date_modified, @@ -65,4 +68,4 @@ appendValues({ spreadsheetId: '1s7K3kxzm5AlpwiALattyc7D9_aIyqWmo2ubcQIUlqlY', //sheet id range: 'wcs-bns-test!A:L', //range of columns in sheet values: state => state.sheetsData, -}); \ No newline at end of file +});