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.

Set 201 status code for partner link creation

Kiran K5b080ba0e82e
diff --git a/apps/web/app/api/partners/links/route.ts b/apps/web/app/api/partners/links/route.ts
index 6eadcb26ff..30982c8117 100644
--- a/apps/web/app/api/partners/links/route.ts
+++ b/apps/web/app/api/partners/links/route.ts
@@ -89,7 +89,7 @@ export const POST = withWorkspace(
}),
);
- return NextResponse.json(partnerLink);
+ return NextResponse.json(partnerLink, { status: 201 });
},
{
requiredPlan: [