Skip to content

Commit

Permalink
Update mongoose.ts
Browse files Browse the repository at this point in the history
Removed DB url
  • Loading branch information
Clarchik authored Sep 29, 2020
1 parent 1530195 commit 7fd405f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/db/mongoose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class MongoDB {

private setMongoConfig() {
mongoose.Promise = global.Promise;
mongoose.connect('mongodb+srv://admin:adminnimda@cluster0-lppdm.azure.mongodb.net/test?retryWrites=true&w=majority',
mongoose.connect('URL',
{
useNewUrlParser: true,
useUnifiedTopology: true,
Expand Down

0 comments on commit 7fd405f

Please sign in to comment.