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 Aug 15, 2023
1 parent fdbf9c6 commit f47c62d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bns/historical.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ alterState(state => {
name: survey.name,
owner: survey.owner,
instance: survey.instance,
//url: `https://kf.kobotoolbox.org/api/v2/assets/${survey.id}/data/?format=json`,
url: `https://kf.kobotoolbox.org/api/v2/assets/${survey.id}/data/?format=json`,
//* REPLACE L157 w/ the below URL to sync only 1 submision for each form; see "limit=1" *//
url: `https://kf.kobotoolbox.org/api/v2/assets/${survey.id}/data/?format=json&limit=5`,
//url: `https://kf.kobotoolbox.org/api/v2/assets/${survey.id}/data/?format=json&limit=5`,
})),
};
console.log(`Fetching data for ${state.data.surveys.length} surveys.`);
Expand Down

0 comments on commit f47c62d

Please sign in to comment.