Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Proxy deletion of unused Exchange bounties (#4569)

Developers Digest07977bba2195
diff --git a/apps/api/src/routes/exchange.ts b/apps/api/src/routes/exchange.ts
index 96fe23bbf..139cabcc1 100644
--- a/apps/api/src/routes/exchange.ts
+++ b/apps/api/src/routes/exchange.ts
@@ -174,6 +174,12 @@ exchangeRouter.post(
wrap(exchangeProxy(ANALYTICS_TIMEOUT_MS, { requiresRetrieveFlag: false })),
);
+exchangeRouter.delete(
+ "/publisher/bounties/:id",
+ authMiddleware(RateLimiterMode.Labs),
+ wrap(exchangeProxy(ANALYTICS_TIMEOUT_MS, { requiresRetrieveFlag: false })),
+);
+
exchangeRouter.post(
"/publisher/bounties/:id/claim",
authMiddleware(RateLimiterMode.Labs),