Skip to content

Commit

Permalink
Added the missing active filter
Browse files Browse the repository at this point in the history
  • Loading branch information
caparker committed Oct 19, 2023
1 parent f12eb9c commit 3a01835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function handler (event, context) {
);
} else {
log.debug(`Getting sources from active sources array`)
currentSources = sourcesArray;
currentSources = sourcesArray.filter(s => s.active);
}
// and the final file name
env.key = `realtime/${DateTime.now().toFormat('yyyy-MM-dd/X')}${suffix}.ndjson`;
Expand Down

0 comments on commit 3a01835

Please sign in to comment.