From 2e5834996ec68b8d69221ca45d9eaa0494aee162 Mon Sep 17 00:00:00 2001 From: will Farrell Date: Fri, 16 Jun 2023 08:32:35 -0600 Subject: [PATCH] fix: path to port --- clients/knex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/knex.js b/clients/knex.js index 3b3b88e..7a946ad 100644 --- a/clients/knex.js +++ b/clients/knex.js @@ -27,7 +27,7 @@ const rdsMiddleware = (opts = {}) => { ...options.config.connection, ...values } - if (!options.config.port) { + if (!options.config.connection.port) { throw new Error('port missing') } if (!options.config.connection.password) {