Skip to content
Snippets Groups Projects
Commit 5dc346ca authored by jamie michel's avatar jamie michel
Browse files

working DB

parent 5b37132a
No related branches found
No related tags found
1 merge request!2Database
......@@ -41,7 +41,7 @@ app.post('/predict', (req,res) => {
if(err) { return console.dir(err); }
// Create collection if does not exist
var collection = db.createCollection('Pred_Records');
var collection = db.db('ClusterNLP').collection('Pred_Records');
// Get the data to be stored
var plot = req.body.plot;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment