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.

Merge branch 'main' into feat/improve-api

Kiran K5e2bc1e0ed6a
diff --cc apps/web/app/admin.dub.co/actions.ts
index 4ef089e39d,a507d01659..5a811ec456
--- a/apps/web/app/admin.dub.co/actions.ts
+++ b/apps/web/app/admin.dub.co/actions.ts
@@@ -175,11 -175,11 +175,11 @@@ export async function banUser(data: For
await Promise.allSettled(
user.projects.map(({ project }) =>
- deleteProject({
+ deleteProjectAdmin({
id: project.id,
slug: project.slug,
- stripeId: project.stripeId || undefined,
- logo: project.logo || undefined,
+ stripeId: project.stripeId || null,
+ logo: project.logo || null,
}),
),
);