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.

missed a spot

Steven Tey266ad460a672
diff --git a/apps/web/app/api/cron/links/event/route.ts b/apps/web/app/api/cron/links/event/route.ts
index 8fb9ed9705..58242ddb4c 100644
--- a/apps/web/app/api/cron/links/event/route.ts
+++ b/apps/web/app/api/cron/links/event/route.ts
@@ -25,10 +25,9 @@ export async function POST(req: Request) {
}
}
- const { linkId, type, imageToUpload } = body as {
+ const { linkId, type } = body as {
linkId: string;
type: "create" | "edit" | "transfer";
- imageToUpload?: string;
};
const link = await prisma.link.findUnique({