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 Kd105fc40dc82
diff --git a/apps/web/app/(ee)/api/bounties/[bountyId]/route.ts b/apps/web/app/(ee)/api/bounties/[bountyId]/route.ts
index 4c6e4c10fd..4ef8bc57ce 100644
--- a/apps/web/app/(ee)/api/bounties/[bountyId]/route.ts
+++ b/apps/web/app/(ee)/api/bounties/[bountyId]/route.ts
@@ -158,5 +158,8 @@ export const DELETE = withWorkspace(async ({ workspace, params }) => {
}
});
+ // TODO:
+ // We should also delete the files submitted for the bounty from R2.
+
return NextResponse.json({ id: bountyId });
});