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.

Update route.ts

Kiran K258aac983e3c
diff --git a/apps/web/app/(ee)/api/cron/campaigns/broadcast/route.ts b/apps/web/app/(ee)/api/cron/campaigns/broadcast/route.ts
index dc5afed58c..2049f6556b 100644
--- a/apps/web/app/(ee)/api/cron/campaigns/broadcast/route.ts
+++ b/apps/web/app/(ee)/api/cron/campaigns/broadcast/route.ts
@@ -156,14 +156,20 @@ export async function POST(req: Request) {
},
select: {
id: true,
- partnerGroup: { select: { linkStructure: true } },
+ partnerGroup: {
+ select: {
+ linkStructure: true,
+ },
+ },
links: {
select: {
shortLink: true,
key: true,
url: true,
},
- orderBy: { id: "asc" },
+ orderBy: {
+ id: "asc",
+ },
},
partner: {
select: {