From f671deaaa8608338d04d63a358f7cbc9d351c764 Mon Sep 17 00:00:00 2001 From: OG T Date: Mon, 8 Jun 2026 13:35:42 +0800 Subject: [PATCH] fix: add title to FomoEvent to fix type error in route.ts --- apps/web/src/lib/x-broadcaster.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/src/lib/x-broadcaster.ts b/apps/web/src/lib/x-broadcaster.ts index da0fbc1..aa94bba 100644 --- a/apps/web/src/lib/x-broadcaster.ts +++ b/apps/web/src/lib/x-broadcaster.ts @@ -1,12 +1,13 @@ import { sendTrafficAlert } from "./traffic-alert"; import { TwitterApi } from "twitter-api-v2"; -export type FomoEventType = "HIGH_VALUE_BOUNTY" | "SPEED_RUN" | "A2A_SUBCONTRACT"; +export type FomoEventType = "HIGH_VALUE_BOUNTY" | "SPEED_RUN" | "A2A_SUBCONTRACT" | "NEW_BOUNTY_CREATED"; export interface FomoEvent { type: FomoEventType; taskId: string; amountFormatted: string; // e.g., "$500" + title?: string; agentId?: string; timeToSolveMinutes?: number; }