Skip to content

Commit

Permalink
Merge pull request #778 from hngprojects/destinedcodes-patch-3
Browse files Browse the repository at this point in the history
Update data-source.ts
  • Loading branch information
Homoakin619 authored Aug 12, 2024
2 parents b91fd76 + d62faa4 commit a6376a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/data-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const isDevelopment = process.env.NODE_ENV === 'development';

const dataSource = new DataSource({
type: process.env.DB_TYPE as 'postgres',
username: process.env.DB_USERNAMES,
username: process.env.DB_USERNAME,
password: process.env.DB_PASSWORD,
host: process.env.DB_HOST,
database: process.env.DB_NAME,
Expand Down

0 comments on commit a6376a9

Please sign in to comment.