Skip to content

Commit 702933a

Browse files
committed
fix: typo and path fixes
1 parent 628af70 commit 702933a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/config/configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

src/controllers/evm-health.controller.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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/')
4141
export 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/')
4949
export 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/')
5757
export class ETHHealthController extends BaseHealthController {
5858
constructor(configService: ConfigService<IConfig>) {
5959
super(configService, 'ETH');

0 commit comments

Comments
 (0)