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

Kiran K8c2b4947f298
diff --git a/apps/web/lib/zod/schemas/rewards.ts b/apps/web/lib/zod/schemas/rewards.ts
index c572c68b29..c25e813c71 100644
--- a/apps/web/lib/zod/schemas/rewards.ts
+++ b/apps/web/lib/zod/schemas/rewards.ts
@@ -147,6 +147,11 @@ export const REWARD_CONDITIONS: Record<
},
],
},
+ {
+ id: "subscriptionDuration",
+ label: "Subscription duration",
+ type: "number",
+ },
],
},
PARTNER_ENTITY,
@@ -164,11 +169,6 @@ export const REWARD_CONDITIONS: Record<
label: "Amount",
type: "currency",
},
- {
- id: "subscriptionDuration",
- label: "Subscription duration",
- type: "number",
- },
],
},
],