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

Kiran Kee0d8d8a5d24
diff --git a/apps/web/app/api/track/sale/route.ts b/apps/web/app/api/track/sale/route.ts
index d69f58c804..35e7ae32f4 100644
--- a/apps/web/app/api/track/sale/route.ts
+++ b/apps/web/app/api/track/sale/route.ts
@@ -52,16 +52,11 @@ export const POST = withWorkspaceEdge(
});
if (!customer) {
- return NextResponse.json(
- {
- eventName,
- customer: null,
- sale: null,
- },
- {
- status: 304,
- },
- );
+ return NextResponse.json({
+ eventName,
+ customer: null,
+ sale: null,
+ });
}
// Find lead