From 2b4a5707fb686d2c1ce0c8d1dca4b3a0e990cf47 Mon Sep 17 00:00:00 2001 From: daissatou2 <80456839+daissatou2@users.noreply.github.com> Date: Tue, 25 Jul 2023 12:44:34 -0500 Subject: [PATCH] aissatou@openfn.org's change on OpenFn.org --- jobs/upsertPostChallenges.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jobs/upsertPostChallenges.js b/jobs/upsertPostChallenges.js index 3609c53..e54d687 100644 --- a/jobs/upsertPostChallenges.js +++ b/jobs/upsertPostChallenges.js @@ -184,9 +184,8 @@ fn(state => { fn(state => { - console.log("here", state.formVersion); if (state.formVersion == "pre_challenge_ecap_-_pre_-_season_survey_for_athletes") { - console.log("Skipping upsert for ECAP data") + return state;} const PID = lastReferenceValue('records[0].Participant_Identification_Number_PID__c')(state);