Skip to content

Commit

Permalink
Fix optional chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickEvers committed Mar 7, 2024
1 parent 26c4804 commit e520fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports.DB_DATABASE = process.env.DB_DATABASE;
exports.DB_USERNAME = process.env.DB_USERNAME;
exports.DB_PASSWORD = process.env.DB_PASSWORD;
exports.DB_PORT = process.env.DB_PORT || 5432;
exports.DB_SSL = process.env.DB_SSL.toLowerCase?.() === 'true';
exports.DB_SSL = process.env.DB_SSL?.toLowerCase?.() === 'true';
exports.CONNECTION_POOL_SIZE = process.env.CONNECTION_POOL_SIZE || 10;
exports.DB_IDLE_TIMEOUT_MILLIS = process.env.DB_IDLE_TIMEOUT_MILLIS;
exports.DB_MAX_USES = process.env.DB_MAX_USES;
Expand Down

0 comments on commit e520fee

Please sign in to comment.