Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(api): update monitor webhook types to array data shape

Developers Digestb44cad6fd265
diff --git a/apps/api/src/services/webhook/types.ts b/apps/api/src/services/webhook/types.ts
index 0ac175510..9ac0d90ab 100644
--- a/apps/api/src/services/webhook/types.ts
+++ b/apps/api/src/services/webhook/types.ts
@@ -129,7 +129,7 @@ interface MonitorPageData extends BaseWebhookData {
previousScrapeId?: string | null;
currentScrapeId?: string | null;
error?: string | null;
- };
+ }[];
error?: string;
}
@@ -147,6 +147,6 @@ interface MonitorCheckCompletedData extends BaseWebhookData {
removed: number;
error: number;
};
- };
+ }[];
error?: string;
}