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 campaigns.ts

Tim Wilson3b740ed13ccf
diff --git a/apps/web/lib/zod/schemas/campaigns.ts b/apps/web/lib/zod/schemas/campaigns.ts
index 7ea8e0c62d..035c7fc5db 100644
--- a/apps/web/lib/zod/schemas/campaigns.ts
+++ b/apps/web/lib/zod/schemas/campaigns.ts
@@ -109,10 +109,10 @@ export const getCampaignsQuerySchema = z
triggerCondition: z
.string()
.pipe(
- z.preprocess((input: string) => {
- console.log("!!! INPUT", input);
- return JSON.parse(input);
- }, workflowConditionSchema),
+ z.preprocess(
+ (input: string) => JSON.parse(input),
+ workflowConditionSchema,
+ ),
)
.optional(),
})