Skip to content

Commit

Permalink
Update viewer.js
Browse files Browse the repository at this point in the history
removed insertDocument from external reference
  • Loading branch information
nicbkw committed Oct 18, 2019
1 parent 1f88f4c commit 6c3d849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viewer/viewer.js
Expand Up @@ -2,7 +2,7 @@ const express = require('express')
const app = express()
const port = 3000

const {insertDocument, getArray} = require('./mongo');
const {getArray} = require('./mongo');

app.set('view engine', 'hbs');

Expand Down Expand Up @@ -32,4 +32,4 @@ var pushData = (arrayData) => {
return JSON.stringify(myData);
}

// ends
// ends

0 comments on commit 6c3d849

Please sign in to comment.