Skip to content

Commit

Permalink
fix: path to port
Browse files Browse the repository at this point in the history
  • Loading branch information
willfarrell committed Jun 16, 2023
1 parent 2622737 commit 2e58349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/knex.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 2e58349

Please sign in to comment.