Changed old password to correct new process variable
This commit is contained in:
parent
c3dad6ab0f
commit
d15a234399
3
Procfile
3
Procfile
|
@ -1,2 +1 @@
|
|||
// worker: node src/utils/doEverythingForScheduler.js
|
||||
|
||||
// worker: node src/utils/doEverythingForScheduler.js
|
|
@ -40,7 +40,7 @@ export async function upsert (contents, documentName, collectionName="metaforeca
|
|||
}
|
||||
|
||||
export async function mongoRead (documentName, collectionName="metaforecastCollection", databaseName="metaforecastDatabase"){
|
||||
const url = "mongodb+srv://heroku:MxHTRQsqFasdlpoD@metaforecastdatabaseclu.wgk8a.mongodb.net?writeConcern=majority";
|
||||
const url = process.env.MONGODB_URL;
|
||||
|
||||
const client = new MongoClient(url, {
|
||||
useNewUrlParser: true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user