We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ec4c81 commit 8e656ffCopy full SHA for 8e656ff
auth-service.js
@@ -12,7 +12,7 @@ var userSchema = new Schema({
12
});
13
let User;
14
function initialize(){
15
- let db = mongoose.createConnection(`mongodb+srv://rajatkumar:EG7otzhCsPU0uTtJ@cluster0.suctt.mongodb.net/myFirstDatabase?retryWrites=true&w=majority`);;
+ let db = mongoose.createConnection(`mongodb+srv://user :pass@cluster0.suctt.mongodb.net/myFirstDatabase?retryWrites=true&w=majority`);;
16
return new Promise((resolve,reject)=>{
17
18
db.on('error', (err)=>{
0 commit comments