mysql key length

This commit is contained in:
Martin McKeaveney 2021-02-24 21:58:38 +00:00
parent 18429c5e78
commit ed6a77a55d
1 changed files with 1 additions and 1 deletions

View File

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