From 843d69d93727df5744d08f230567b66f8f24e367 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sat, 3 Jul 2021 15:09:04 +0200 Subject: [PATCH] Added evaluations community to foretold fetcher. Fixed small bug in wrapper --- src/platforms/foretold-fetch.js | 2 +- src/utils/mongo-wrapper.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platforms/foretold-fetch.js b/src/platforms/foretold-fetch.js index f8fe931..1ecd312 100644 --- a/src/platforms/foretold-fetch.js +++ b/src/platforms/foretold-fetch.js @@ -6,7 +6,7 @@ import { upsert } from "../utils/mongo-wrapper.js" /* Definitions */ let graphQLendpoint = "https://api.foretold.io/graphql" -let highQualityCommunities = ["0104d8e8-07e4-464b-8b32-74ef22b49f21", "c47c6bc8-2c9b-4a83-9583-d1ed80a40fa2", "cf663021-f87f-4632-ad82-962d889a2d39", "47ff5c49-9c20-4f3d-bd57-1897c35cd42d"] +let highQualityCommunities = ["0104d8e8-07e4-464b-8b32-74ef22b49f21", "c47c6bc8-2c9b-4a83-9583-d1ed80a40fa2", "cf663021-f87f-4632-ad82-962d889a2d39", "47ff5c49-9c20-4f3d-bd57-1897c35cd42d", "b2412a1d-0aa4-4e37-a12a-0aca9e440a96"] /* Support functions */ async function fetchAllCommunityQuestions(communityId) { diff --git a/src/utils/mongo-wrapper.js b/src/utils/mongo-wrapper.js index e319e23..1555ca6 100644 --- a/src/utils/mongo-wrapper.js +++ b/src/utils/mongo-wrapper.js @@ -185,4 +185,4 @@ export async function mongoGetAllElements(databaseName = "metaforecastDatabase", } //mongoGetAllElements() -//mongoGetAllElements("metaforecastDatabase", "metaforecastHistory") \ No newline at end of file +//mongoGetAllElements("metaforecastDatabase", "metaforecastHistory")