From ed6a77a55d50ea5fe85a88c1f0086b0f4b44356b Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Wed, 24 Feb 2021 21:58:38 +0000 Subject: [PATCH] mysql key length --- packages/server/src/integrations/mysql.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/integrations/mysql.js b/packages/server/src/integrations/mysql.js index 411ea181ed..af1a1baf92 100644 --- a/packages/server/src/integrations/mysql.js +++ b/packages/server/src/integrations/mysql.js @@ -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)