Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Commit

Permalink
removed broadcast directly
Browse files Browse the repository at this point in the history
  • Loading branch information
the-robot committed Feb 17, 2020
1 parent 08c5ac7 commit 9a620ca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tasks/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ const pullNewsAndBroadcast = async () => {
const added = await insertNewsIfNotExists(document);
// if added means have not broadcasted, so broadcast
if (added) {
broadcastLatestNews(document);
toBroadcast.push(document);
}
});
Expand Down

0 comments on commit 9a620ca

Please sign in to comment.