Skip to content

Commit 9a6507a

Browse files
Merge pull request #1221 from barsheshet/master
docs(content): Async configuration port type fix
2 parents c0a1b1e + 75e040b commit 9a6507a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ TypeOrmModule.forRootAsync({
617617
useFactory: (configService: ConfigService) => ({
618618
type: 'mysql',
619619
host: configService.get<string>('HOST'),
620-
port: configService.get<string>('PORT'),
620+
port: configService.get<number>('PORT'),
621621
username: configService.get<string>('USERNAME'),
622622
password: configService.get<string>('PASSWORD'),
623623
database: configService.get<string>('DATABASE'),

0 commit comments

Comments
 (0)