Skip to content

Commit

Permalink
fix(status-api): Default network to mainnet for status-api controller…
Browse files Browse the repository at this point in the history
… module (#1468)

Default network to mainnet for status-api controller module
  • Loading branch information
nichellekoh authored May 23, 2022
1 parent 6f4a0ed commit fb74c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/status-api/src/modules/ControllerModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { OverallStatusController } from '../controllers/OverallStatusController'
useFactory: (configService: ConfigService): WhaleApiClient => {
return new WhaleApiClient({
version: 'v0',
network: configService.get<string>('network'),
network: configService.get<string>('network') ?? 'mainnet',
url: 'https://ocean.defichain.com'
})
},
Expand Down

0 comments on commit fb74c0a

Please sign in to comment.