Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Commit

Permalink
Update v2.1.0-core-2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
anubiskun authored Oct 2, 2022
1 parent eae69ed commit abdab68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions anubis.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ const syntaxerror = require('syntax-error')
const pino = require('pino').default
const { Low, JSONFile } = require('./library/lowdb')
const mongoDB = require('./library/mongoDB')
// const database = new Low(opts['test'] ? new JSONFile(`database.json`) : new mongoDB(mongoUser))
const database = new Low(new mongoDB('mongodb+srv://test:test@test.3nn4k04.mongodb.net/?retryWrites=true&w=majority'))
const database = new Low(opts['test'] ? new JSONFile(`database.json`) : new mongoDB(mongoUser))
const store = makeInMemoryStore({ logger: pino().child({ level: 'silent', stream: 'store' }) })
const sleep = ms => new Promise(resolve => setTimeout(resolve, ms))

Expand Down

0 comments on commit abdab68

Please sign in to comment.