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 another spot

Steven Teycbde62b449b6
diff --git a/apps/web/lib/actions/partners/create-program.ts b/apps/web/lib/actions/partners/create-program.ts
index 87645743a0..061726186b 100644
--- a/apps/web/lib/actions/partners/create-program.ts
+++ b/apps/web/lib/actions/partners/create-program.ts
@@ -42,7 +42,6 @@ export const createProgram = async ({
const {
name,
domain,
- categories,
url,
defaultRewardType,
type,
@@ -130,11 +129,6 @@ export const createProgram = async ({
},
},
}),
- ...(Boolean(categories.length) && {
- categories: {
- create: categories.map((category) => ({ category })),
- },
- }),
},
include: {
rewards: true,