Skip to content

Commit

Permalink
FIX: async/await
Browse files Browse the repository at this point in the history
  • Loading branch information
eagerterrier committed Feb 1, 2025
1 parent 68da3f6 commit 37fc8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ let parser = new Parser({
}
});

Object.keys(feeds).forEach(async (service, i) => {
return Object.keys(feeds).forEach(async (service, i) => {
await setTimeout( () => {
(async () => {
const url = feeds[service].url;
Expand Down

0 comments on commit 37fc8c0

Please sign in to comment.