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

Steven Teyf237c3d624d2
diff --git a/apps/web/app/(ee)/api/partner-profile/invites/route.ts b/apps/web/app/(ee)/api/partner-profile/invites/route.ts
index 36e7b254cd..28bac0f33e 100644
--- a/apps/web/app/(ee)/api/partner-profile/invites/route.ts
+++ b/apps/web/app/(ee)/api/partner-profile/invites/route.ts
@@ -9,7 +9,7 @@ import {
} from "@/lib/partners/constants";
import {
getPartnerUsersQuerySchema,
- invitePartnerMemberSchema,
+ invitePartnerUserSchema,
partnerUserSchema,
} from "@/lib/zod/schemas/partner-profile";
import { prisma } from "@dub/prisma";
@@ -47,7 +47,7 @@ export const GET = withPartnerProfile(async ({ partner, searchParams }) => {
export const POST = withPartnerProfile(
async ({ partner, req, session, partnerUser }) => {
const invites = z
- .array(invitePartnerMemberSchema)
+ .array(invitePartnerUserSchema)
.parse(await parseRequestBody(req));
throwIfNoPermission({