1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00

mysql key length

This commit is contained in:
Martin McKeaveney 2021-02-24 21:58:38 +00:00
parent 8d2e343ca0
commit 36ff7d80ac

View file

@ -55,7 +55,7 @@ const SCHEMA = {
class MySQLIntegration { class MySQLIntegration {
constructor(config) { constructor(config) {
this.config = config this.config = config
if (Object.keys(config.ssl) === 0) { if (Object.keys(config.ssl).length === 0) {
delete config.ssl delete config.ssl
} }
this.client = mysql.createConnection(config) this.client = mysql.createConnection(config)