Skip to content

Commit

Permalink
bumped version to 3.0.27 - removed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinehage committed Jun 21, 2021
1 parent e3313b5 commit 830a2d8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions model/mongo/oauth_token.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ Oauth.prototype.delete = function (data, cb) {
condition.token = data.token;
condition.type = data.type;
}
console.log(data)
__self.mongoCore.deleteMany(colName, condition, (err, count) => {
console.log(err)
let response = 0;
if (count && count.result) {
response = count.result.n;
Expand All @@ -99,7 +97,6 @@ Oauth.prototype.validateId = function (id, cb) {

Oauth.prototype.closeConnection = function () {
let __self = this;
console.log("**** oauth: closeConnection");
__self.mongoCore.closeDb();
};

Expand Down

0 comments on commit 830a2d8

Please sign in to comment.