Skip to content

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

Update exchange.ts

Developers Digest50f16f3feded
diff --git a/apps/api/src/routes/exchange.ts b/apps/api/src/routes/exchange.ts
index 21b702214..bede4d92b 100644
--- a/apps/api/src/routes/exchange.ts
+++ b/apps/api/src/routes/exchange.ts
@@ -31,12 +31,6 @@ function upstreamBase(): string | null {
return config.FIRE_EXCHANGE_URL.replace(/\/+$/, "");
}
-/**
- * `requiresRetrieveFlag` is opt-out for a reason: consuming the Exchange is what that flag grants,
- * and every route here consumes it except the one where somebody offers something of their own. An
- * applicant is not yet a customer, so gating their application on a consumption entitlement would
- * refuse exactly the people the route exists for.
- */
function exchangeProxy(
timeout: number,
options: { requiresRetrieveFlag?: boolean } = {},