Added evaluations community to foretold fetcher. Fixed small bug in wrapper

This commit is contained in:
NunoSempere 2021-07-03 15:09:04 +02:00
parent 216be068a9
commit 843d69d937
2 changed files with 2 additions and 2 deletions

View File

@ -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) {