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

Kiran K400c96a2e218
diff --git a/apps/web/lib/zod/schemas/workflows.ts b/apps/web/lib/zod/schemas/workflows.ts
index b8b66a8788..f1c8b479d7 100644
--- a/apps/web/lib/zod/schemas/workflows.ts
+++ b/apps/web/lib/zod/schemas/workflows.ts
@@ -72,7 +72,7 @@ export const WORKFLOW_LOGICAL_OPERATORS = ["AND"] as const;
export const workflowConditionSchema = z.object({
attribute: z.enum(WORKFLOW_ATTRIBUTES),
operator: z.enum(WORKFLOW_COMPARISON_OPERATORS).default("gte"),
- value: z.number().nullish().describe("value is optional for none inputType"),
+ value: z.number()
});
// Array of conditions with AND operator