Permalink
Browse files

Fix deprecation warnings

  • Loading branch information...
jkelin committed Aug 18, 2018
1 parent 743d7aa commit 9a6816c418210a3c95cf11d7762fdfd6ae76caea
Showing with 35 additions and 36 deletions.
  1. +1 −1 package.json
  2. +4 −1 src/db.ts
  3. +30 −34 yarn.lock
View
@@ -39,7 +39,7 @@
"geoip-lite": "^1.3.1",
"influx": "^5.0.7",
"moment": "^2.22.2",
"mongoose": "^5.2.9",
"mongoose": "5.1",
"octonode": "^0.9.3",
"qs": "^6.5.2",
"raven": "^2.6.3",
View
@@ -142,8 +142,11 @@ export const influx = new InfluxDB({
async function connect() {
const conn = mongoose.connect(
process.env.MONGODB || "mongodb://localhost/tribes"
process.env.MONGODB || "mongodb://localhost/tribes",
// { useNewUrlParser: true }
);
return conn;
}
connect()
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 9a6816c

Please sign in to comment.