From 806ec3ee51d0d61cbc5465d2b04fba27af86064d Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Mon, 28 Mar 2022 00:25:52 +0300 Subject: [PATCH] feat: fix mongodb call in databaseReadWithReadCredentials (unused) --- src/backend/database/database-wrapper.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/backend/database/database-wrapper.ts b/src/backend/database/database-wrapper.ts index 455a602..c3a7b4c 100644 --- a/src/backend/database/database-wrapper.ts +++ b/src/backend/database/database-wrapper.ts @@ -142,11 +142,11 @@ export async function databaseReadWithReadCredentials({ group }) { break; default: mongoDocName = `${group}-questions`; - // responseMongo = mongoRemongoReadWithReadCredentialsad( - // mongoDocName, - // "metaforecastCollection", - // "metaforecastDatabase" - // ); + responseMongo = mongoReadWithReadCredentials( + mongoDocName, + "metaforecastCollection", + "metaforecastDatabase" + ); responsePg = await pgReadWithReadCredentials({ schema: "latest", tableName: group,