File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export function extractVerifierType(): VerifierType {
8989 return VerifierType . FLR ;
9090 default :
9191 throw new Error (
92- `Wrong verifier type: '${ String ( process . env . VERIFIER_TYPE ) } ' provide a valid verifier type: 'doge' | 'btc' | 'xrp' | 'web2' | 'eht ' | 'sgb' | 'flr'` ,
92+ `Wrong verifier type: '${ String ( process . env . VERIFIER_TYPE ) } ' provide a valid verifier type: 'doge' | 'btc' | 'xrp' | 'web2' | 'eth ' | 'sgb' | 'flr'` ,
9393 ) ;
9494 }
9595}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ abstract class BaseHealthController {
2222 * Gets the state entries from the indexer database.
2323 * @returns
2424 */
25- @Get ( 'health ' )
25+ @Get ( 'Health ' )
2626 public async indexerState ( ) : Promise < boolean > {
2727 try {
2828 const blockNum = await this . web3Provider . getBlockNumber ( ) ;
@@ -37,23 +37,23 @@ abstract class BaseHealthController {
3737}
3838
3939@ApiTags ( 'Health' )
40- @Controller ( 'sgb /' )
40+ @Controller ( 'SGB /' )
4141export class SGBHealthController extends BaseHealthController {
4242 constructor ( configService : ConfigService < IConfig > ) {
4343 super ( configService , 'SGB' ) ;
4444 }
4545}
4646
4747@ApiTags ( 'Health' )
48- @Controller ( 'flr /' )
48+ @Controller ( 'FLR /' )
4949export class FLRHealthController extends BaseHealthController {
5050 constructor ( configService : ConfigService < IConfig > ) {
5151 super ( configService , 'FLR' ) ;
5252 }
5353}
5454
5555@ApiTags ( 'Health' )
56- @Controller ( 'eth /' )
56+ @Controller ( 'ETH /' )
5757export class ETHHealthController extends BaseHealthController {
5858 constructor ( configService : ConfigService < IConfig > ) {
5959 super ( configService , 'ETH' ) ;
You can’t perform that action at this time.
0 commit comments