fix(queue-worker): move dotenv config up

This commit is contained in:
Gergő Móricz 2024-08-20 19:25:19 +02:00
parent e200ec9e12
commit 70d50b3640

View File

@ -1,10 +1,10 @@
import "dotenv/config";
import { CustomError } from "../lib/custom-error";
import {
getScrapeQueue,
redisConnection,
scrapeQueueName,
} from "./queue-service";
import "dotenv/config";
import { logtail } from "./logtail";
import { startWebScraperPipeline } from "../main/runWebScraper";
import { callWebhook } from "./webhook";