The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix fraud group sheet
Steven Tey534470f7fe5c
diff --git a/apps/web/scripts/perplexity/review-bounties.ts b/apps/web/scripts/perplexity/review-bounties.tsindex ffd208a21f..3c05fc45aa 100644--- a/apps/web/scripts/perplexity/review-bounties.ts+++ b/apps/web/scripts/perplexity/review-bounties.ts@@ -7,13 +7,13 @@ import "dotenv-flow/config";import { syncTotalCommissions } from "../../lib/api/partners/sync-total-commissions";import { queueBatchEmail } from "../../lib/email/queue-batch-email";-const userId = "xxx";+const userId = "user_xxx";-// reject invalid bounty submissions+// approve bounty submissionsasync function main() {const bounty = await prisma.bounty.findUniqueOrThrow({where: {- id: "xxx",+ id: "bnty_xxx",},});diff --git a/apps/web/ui/partners/fraud-risks/fraud-events-tables/fraud-cross-program-ban-table.tsx b/apps/web/ui/partners/fraud-risks/fraud-events-tables/fraud-cross-program-ban-table.tsxindex f4314dfe87..00762f5605 100644--- a/apps/web/ui/partners/fraud-risks/fraud-events-tables/fraud-cross-program-ban-table.tsx+++ b/apps/web/ui/partners/fraud-risks/fraud-events-tables/fraud-cross-program-ban-table.tsx@@ -22,16 +22,19 @@ export function FraudCrossProgramBanTable() {header: "Date",minSize: 140,size: 160,- cell: ({ row: { original } }) => (- <TimestampTooltip- timestamp={original.metadata.bannedAt}- side="right"- rows={["local", "utc", "unix"]}- delayDuration={150}- >- <p>{formatDateTimeSmart(original.metadata.bannedAt || "")}</p>- </TimestampTooltip>- ),+ cell: ({ row: { original } }) =>+ original.metadata?.bannedAt ? (+ <TimestampTooltip+ timestamp={original.metadata.bannedAt}+ side="right"+ rows={["local", "utc", "unix"]}+ delayDuration={150}+ >+ <p>{formatDateTimeSmart(original.metadata.bannedAt)}</p>+ </TimestampTooltip>+ ) : (+ "-"+ ),},{id: "banReason",@@ -39,7 +42,7 @@ export function FraudCrossProgramBanTable() {minSize: 180,size: 220,cell: ({ row: { original } }) => {- return original.metadata.bannedReason ? (+ return original.metadata?.bannedReason ? (<span className="text-sm text-neutral-600">{BAN_PARTNER_REASONS[original.metadata.bannedReason]}</span>