File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ type TypeOrmConfig = (...args: any[]) => TypeOrmModuleOptions;
77
88export const typeOrmConfig : TypeOrmConfig = ( configService : ConfigService ) => {
99 return {
10- type : ' mysql',
10+ type : configService . get ( 'JAMIE_API_DATABASE_TYPE' ) . default ( ' mysql') ,
1111 host : configService . get ( 'JAMIE_API_DATABASE_HOST' ) ,
1212 port : + configService . get ( 'JAMIE_API_DATABASE_PORT' ) ,
1313 username : configService . get ( 'JAMIE_API_DATABASE_USER' ) ,
Original file line number Diff line number Diff line change 11{
22 "name" : " jamie-api" ,
3- "version" : " 0.0.1 " ,
3+ "version" : " 0.1.0-rc1 " ,
44 "description" : " " ,
55 "author" : " " ,
66 "private" : true ,
100100 "coverageDirectory" : " ../coverage" ,
101101 "testEnvironment" : " node"
102102 }
103- }
103+ }
You can’t perform that action at this time.
0 commit comments