fix: add title to FomoEvent to fix type error in route.ts
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 6s

This commit is contained in:
OG T
2026-06-08 13:35:42 +08:00
parent 265b981aa7
commit f671deaaa8

View File

@@ -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;
}