feat: skip metaculus questions earlier
This commit is contained in:
parent
cc2257b626
commit
c96627e2cf
|
@ -85,7 +85,6 @@ async function apiQuestionToFetchedQuestions(
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
} else if (apiQuestion.type === "forecast") {
|
} else if (apiQuestion.type === "forecast") {
|
||||||
const apiQuestionDetails = await fetchSingleApiQuestion(apiQuestion.id);
|
|
||||||
if (apiQuestion.group) {
|
if (apiQuestion.group) {
|
||||||
return []; // sub-question, should be handled on the group level
|
return []; // sub-question, should be handled on the group level
|
||||||
}
|
}
|
||||||
|
@ -93,6 +92,7 @@ async function apiQuestionToFetchedQuestions(
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const apiQuestionDetails = await fetchSingleApiQuestion(apiQuestion.id);
|
||||||
const tmp = buildFetchedQuestion(apiQuestion);
|
const tmp = buildFetchedQuestion(apiQuestion);
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user