feat: fix mongodb call in databaseReadWithReadCredentials (unused)

This commit is contained in:
Vyacheslav Matyukhin 2022-03-28 00:25:52 +03:00
parent 164f996f41
commit 806ec3ee51
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -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,