From 908349cd7c012c732db9a9e63211926e8091eaea Mon Sep 17 00:00:00 2001 From: ajibadeabd <43596899+ajibadeabd@users.noreply.github.com> Date: Wed, 17 Jul 2024 08:31:26 +0100 Subject: [PATCH] fix bug to save merchat id and tokens in the db --- database/index.js | 1 - helpers/ORMs/Mongoose/index.js | 1 - 2 files changed, 2 deletions(-) diff --git a/database/index.js b/database/index.js index 5a8b8f1..669d5f2 100644 --- a/database/index.js +++ b/database/index.js @@ -87,7 +87,6 @@ class SallaDatabase { { user: user_id, ...data }, { upsert: true, new: true } ).then(results => { - console.log(results); return results }); } catch (err) { diff --git a/helpers/ORMs/Mongoose/index.js b/helpers/ORMs/Mongoose/index.js index accba34..05843fa 100644 --- a/helpers/ORMs/Mongoose/index.js +++ b/helpers/ORMs/Mongoose/index.js @@ -9,7 +9,6 @@ require("./schemas/oauthtokens"); -console.log( `mongodb+srv://${username}:${password}@${server}/${database}`) class Database { constructor() {