Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

252 B
Raw Blame
import { webhookEventSchemaTB } from "../zod/schemas/webhooks";
import { tb } from "./client";

export const recordWebhookEvent = tb.buildIngestEndpoint({
  datasource: "dub_webhook_events",
  event: webhookEventSchemaTB.omit({ timestamp: true }),
});