fix: database bug
This commit is contained in:
parent
83e50e7349
commit
62f77071f5
|
@ -29,7 +29,7 @@ export async function databaseUpsert({ contents, group }) {
|
||||||
.replace("-", "_");
|
.replace("-", "_");
|
||||||
mongoDocName = `metaforecast_history_${dateUpToMonth}`;
|
mongoDocName = `metaforecast_history_${dateUpToMonth}`;
|
||||||
await mongoUpsert(
|
await mongoUpsert(
|
||||||
data,
|
contents,
|
||||||
mongoDocName,
|
mongoDocName,
|
||||||
"metaforecastHistory",
|
"metaforecastHistory",
|
||||||
"metaforecastDatabase"
|
"metaforecastDatabase"
|
||||||
|
@ -154,4 +154,3 @@ export async function databaseReadWithReadCredentials({ group }) {
|
||||||
}
|
}
|
||||||
//= ;
|
//= ;
|
||||||
// databaseReadWithReadCredentials(documentName, collectionName = "metaforecastCollection", databaseName = "metaforecastDatabase")
|
// databaseReadWithReadCredentials(documentName, collectionName = "metaforecastCollection", databaseName = "metaforecastDatabase")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user