Skip to content

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

Update fireEngine.ts

Nicolasaf06b42cb2a4
diff --git a/apps/api/src/search/fireEngine.ts b/apps/api/src/search/fireEngine.ts
index b1f30ee5f..1186c8a2c 100644
--- a/apps/api/src/search/fireEngine.ts
+++ b/apps/api/src/search/fireEngine.ts
@@ -42,11 +42,12 @@ export async function fireEngineMap(
url: `${process.env.FIRE_ENGINE_BETA_URL}/search`,
headers: {
"Content-Type": "application/json",
+ "X-Disable-Cache": "true"
},
data: data,
};
const response = await axios(config);
- if (response && response) {
+ if (response && response.data) {
return response.data;
} else {
return [];