From 42aa90eac8c46c554abe365a90df759c6ffa7e14 Mon Sep 17 00:00:00 2001 From: JD <156010594+5u6r054@users.noreply.github.com> Date: Fri, 2 Aug 2024 13:35:19 -0700 Subject: [PATCH] fix typo in if statement. Signed-off-by: JD <156010594+5u6r054@users.noreply.github.com> --- pkg/workers/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/workers/handler.go b/pkg/workers/handler.go index 3c208c91..f641c891 100644 --- a/pkg/workers/handler.go +++ b/pkg/workers/handler.go @@ -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) {