Skip to content

Commit

Permalink
fix typo in if statement.
Browse files Browse the repository at this point in the history
Signed-off-by: JD <156010594+5u6r054@users.noreply.github.com>
  • Loading branch information
5u6r054 committed Aug 2, 2024
1 parent 5b468a9 commit 42aa90e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/workers/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func (a *Worker) HandleWork(ctx actor.Context, m *messages.Work, node *masa.Orac
return
}
cfg := config.GetInstance()
if cfg.TwitterScraper || cfg.DiscordScraper || cfg.TwitterScraper || cfg.WebScraper {
if cfg.TwitterScraper || cfg.DiscordScraper || cfg.TelegramScraper || cfg.WebScraper {
ctx.Respond(&messages.Response{RequestId: workData["request_id"], Value: string(jsn)})
}
for _, pid := range getPeers(node) {
Expand Down

0 comments on commit 42aa90e

Please sign in to comment.