diff --git a/src/backend/platforms/metaculus/index.ts b/src/backend/platforms/metaculus/index.ts index 3cefa2b..40ce8f7 100644 --- a/src/backend/platforms/metaculus/index.ts +++ b/src/backend/platforms/metaculus/index.ts @@ -85,7 +85,6 @@ async function apiQuestionToFetchedQuestions( }; }); } else if (apiQuestion.type === "forecast") { - const apiQuestionDetails = await fetchSingleApiQuestion(apiQuestion.id); if (apiQuestion.group) { return []; // sub-question, should be handled on the group level } @@ -93,6 +92,7 @@ async function apiQuestionToFetchedQuestions( return []; } + const apiQuestionDetails = await fetchSingleApiQuestion(apiQuestion.id); const tmp = buildFetchedQuestion(apiQuestion); return [ {