Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Aug 25, 2021
1 parent f073794 commit 22305ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const createDatabaseGetter = ({
if (singletonDB)
return {
...singletonDB.connection,
database: database || singleton.connection.database,
user: user || singleton.connection.user,
database: database || singletonDB.connection.database,
user: user || singletonDB.connection.user,
}
const uri =
process.env.POSTGRES_URI ||
Expand Down

0 comments on commit 22305ee

Please sign in to comment.