Update fireEngine.ts
This commit is contained in:
@@ -42,11 +42,12 @@ export async function fireEngineMap(
|
|||||||
url: `${process.env.FIRE_ENGINE_BETA_URL}/search`,
|
url: `${process.env.FIRE_ENGINE_BETA_URL}/search`,
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
"X-Disable-Cache": "true"
|
||||||
},
|
},
|
||||||
data: data,
|
data: data,
|
||||||
};
|
};
|
||||||
const response = await axios(config);
|
const response = await axios(config);
|
||||||
if (response && response) {
|
if (response && response.data) {
|
||||||
return response.data;
|
return response.data;
|
||||||
} else {
|
} else {
|
||||||
return [];
|
return [];
|
||||||
|
|||||||
Reference in New Issue
Block a user