mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 20:19:11 +08:00
removed warnings
This commit is contained in:
parent
b223f6ae68
commit
12cd9f083c
@ -566,7 +566,6 @@ export default class FirecrawlApp {
|
|||||||
let data = statusData.data;
|
let data = statusData.data;
|
||||||
while (typeof statusData === 'object' && 'next' in statusData) {
|
while (typeof statusData === 'object' && 'next' in statusData) {
|
||||||
if (data.length === 0) {
|
if (data.length === 0) {
|
||||||
console.warn("Expected 'data' is missing.")
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
statusData = (await this.getRequest(statusData.next, headers)).data;
|
statusData = (await this.getRequest(statusData.next, headers)).data;
|
||||||
@ -817,7 +816,6 @@ export default class FirecrawlApp {
|
|||||||
let data = statusData.data;
|
let data = statusData.data;
|
||||||
while (typeof statusData === 'object' && 'next' in statusData) {
|
while (typeof statusData === 'object' && 'next' in statusData) {
|
||||||
if (data.length === 0) {
|
if (data.length === 0) {
|
||||||
console.warn("Expected 'data' is missing.")
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
statusData = (await this.getRequest(statusData.next, headers)).data;
|
statusData = (await this.getRequest(statusData.next, headers)).data;
|
||||||
@ -1006,7 +1004,6 @@ export default class FirecrawlApp {
|
|||||||
let data = statusData.data;
|
let data = statusData.data;
|
||||||
while (typeof statusData === 'object' && 'next' in statusData) {
|
while (typeof statusData === 'object' && 'next' in statusData) {
|
||||||
if (data.length === 0) {
|
if (data.length === 0) {
|
||||||
console.warn("Expected 'data' is missing.")
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
statusResponse = await this.getRequest(statusData.next, headers);
|
statusResponse = await this.getRequest(statusData.next, headers);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user