Skip to content

Commit

Permalink
Merge pull request #27 from ntrogh/patch-3
Browse files Browse the repository at this point in the history
Update databaseOperations.js
  • Loading branch information
ninallam authored Feb 6, 2024
2 parents 7923c07 + 76b2dad commit d40cb6f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/databaseOperations.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ var databaseName = obj.databaseName;
var collectionName = obj.collectionName;
connectionString = ("mongodb://" + encodeURIComponent(userName) + ":" + encodeURIComponent(password) + "@" + stringSplit2[1] + (stringSplit2.length >= 3 ? ("@" + stringSplit2[2] + "@") : ""));

mongodb://cosmos-4cccskabi6x4k:K0tM4AwlBH2jYcAgUaUtyRp5j0DOuIlFfSgfHSbJpDh7AGyTpj5XdLtyHHIv5ukzxgMKYeDBTt4tACDba3uyUw==@cosmos-4cccskabi6x4k.mongo.cosmos.azure.com:10255/?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@cosmos-4cccskabi6x4k@

module.exports = {
queryCount: function (callback, errorCallback, retry = 2) {
DbConnection.Get()
Expand Down Expand Up @@ -67,4 +65,4 @@ module.exports = {
});
})
}
}
}

0 comments on commit d40cb6f

Please sign in to comment.