Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bdd/afk.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var dbUrl=s.DATABASE_URL?s.DATABASE_URL:"postgres://db_7xp9_user:6hwmTN7rGPNsjlB
const proConfig = {
connectionString: dbUrl,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true,
},
};

Expand Down
2 changes: 1 addition & 1 deletion bdd/alive.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var dbUrl=s.DATABASE_URL?s.DATABASE_URL:"postgres://db_7xp9_user:6hwmTN7rGPNsjlB
const proConfig = {
connectionString: dbUrl,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true,
},
};

Expand Down
2 changes: 1 addition & 1 deletion bdd/anti-call.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var dbUrl=s.DATABASE_URL?s.DATABASE_URL:"postgres://db_7xp9_user:6hwmTN7rGPNsjlB
const proConfig = {
connectionString:dbUrl ,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true, // Changed to true to enforce TLS verification
},
};

Expand Down
10 changes: 1 addition & 9 deletions bdd/antibot.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var dbUrl=s.DATABASE_URL?s.DATABASE_URL:"postgres://db_7xp9_user:6hwmTN7rGPNsjlB
const proConfig = {
connectionString:dbUrl ,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true,
},
};

Expand Down Expand Up @@ -143,11 +143,3 @@ module.exports = {
atbverifierEtatJid,
atbrecupererActionJid,
};








10 changes: 1 addition & 9 deletions bdd/antilien.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var dbUrl=s.DATABASE_URL?s.DATABASE_URL:"postgres://db_7xp9_user:6hwmTN7rGPNsjlB
const proConfig = {
connectionString:dbUrl ,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true,
},
};

Expand Down Expand Up @@ -143,11 +143,3 @@ module.exports = {
verifierEtatJid,
recupererActionJid,
};








2 changes: 1 addition & 1 deletion bdd/elysium2fiche.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var dbUrl = s.DB;
const proConfig = {
connectionString: dbUrl,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true, // Enable TLS verification
},
};

Expand Down
2 changes: 1 addition & 1 deletion bdd/elysiumfiche.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var dbUrl = s.DB;
const proConfig = {
connectionString: dbUrl,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true, // Changed from false to true to enable TLS verification
},
};

Expand Down
2 changes: 1 addition & 1 deletion bdd/hentai.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var dbUrl = s.DATABASE_URL ? s.DATABASE_URL : "postgres://db_7xp9_user:6hwmTN7rG
const proConfig = {
connectionString: dbUrl,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true,
},
};

Expand Down
2 changes: 1 addition & 1 deletion bdd/level.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const dbUrl = s.DATABASE_URL?s.DATABASE_URL:"postgres://db_7xp9_user:6hwmTN7rGPN
const proConfig = {
connectionString: dbUrl,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true,
},
};

Expand Down
5 changes: 1 addition & 4 deletions bdd/mention.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var dbUrl=s.DATABASE_URL?s.DATABASE_URL:"postgres://db_7xp9_user:6hwmTN7rGPNsjlB
const proConfig = {
connectionString: dbUrl,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true,
},
};

Expand Down Expand Up @@ -104,6 +104,3 @@ module.exports = {
recupererToutesLesValeurs,
modifierStatusId1,
}



2 changes: 1 addition & 1 deletion bdd/onlyAdmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var dbUrl=s.DATABASE_URL?s.DATABASE_URL:"postgresql://thomas_k3lw_user:ePmbhxsGM
const proConfig = {
connectionString: dbUrl,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true,
},
};

Expand Down
2 changes: 1 addition & 1 deletion bdd/stickcmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var dbUrl=s.DATABASE_URL?s.DATABASE_URL:"postgres://db_7xp9_user:6hwmTN7rGPNsjlB
const proConfig = {
connectionString: dbUrl,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true, // Ensure SSL certificate verification is enabled
},
};

Expand Down
5 changes: 2 additions & 3 deletions bdd/sudo.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var dbUrl= process.env.DATABASE_URL
const proConfig = {
connectionString: dbUrl,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true,
},
};

Expand Down Expand Up @@ -139,5 +139,4 @@ async function issudo(jid) {
removeSudoNumber,
getAllSudoNumbers,
isSudoTableNotEmpty
};

};
8 changes: 2 additions & 6 deletions bdd/warn.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var dbUrl=s.DATABASE_URL?s.DATABASE_URL:"postgres://db_7xp9_user:6hwmTN7rGPNsjlB
const proConfig = {
connectionString: dbUrl,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true, // Enable TLS verification
},
};

Expand Down Expand Up @@ -98,12 +98,8 @@ async function creerTableWarnUsers() {
}
}




module.exports = {
ajouterUtilisateurAvecWarnCount,
getWarnCountByJID,
resetWarnCountByJID,
};

};
2 changes: 1 addition & 1 deletion bdd/welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var dbUrl=s.DATABASE_URL?s.DATABASE_URL:"postgres://db_7xp9_user:6hwmTN7rGPNsjlB
const proConfig = {
connectionString: dbUrl,
ssl: {
rejectUnauthorized: false,
rejectUnauthorized: true,
},
};

Expand Down