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