Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickEvers committed Mar 6, 2024
1 parent 4c886bc commit 4bb4d00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/infrastructure/databasePromise.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ const resolveDBCredentials = () => {
(config.NODE_ENV === 'production' && !db_password) ||
!db_host ||
!db_port ||
!db_database ||
!db_ssl) {
!db_database) {
throw new Error('expected database credentials but incomplete specified');
}

Expand Down

0 comments on commit 4bb4d00

Please sign in to comment.