Merge branch 'main' into pr/516

This commit is contained in:
Nicolas
2024-09-02 23:32:23 -03:00
185 changed files with 23365 additions and 5371 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { Job, JobId } from "bull";
import { Job } from "bullmq";
import type { baseScrapers } from "../scraper/WebScraper/single_url";
import { supabase_service as supabase } from "../services/supabase";
import { Logger } from "./logger";
@@ -71,7 +71,7 @@ export class ScrapeEvents {
}
}
static async logJobEvent(job: Job | JobId, event: ScrapeQueueEvent["event"]) {
static async logJobEvent(job: Job | any, event: ScrapeQueueEvent["event"]) {
try {
await this.insert(((job as any).id ? (job as any).id : job) as string, {
type: "queue",