Skip to content

Commit 20900ac

Browse files
authored
Update default.controller.ts (#117)
Fix typo in "healthcheck" endpoint name (line 15 & 18)
1 parent 4ba5cf4 commit 20900ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/controllers/admin-controller/default.controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ export class DefaultController {
1212
return "OS2IoT backend - See /api/v1/docs for Swagger";
1313
}
1414

15-
@Get("/heathcheck")
15+
@Get("/healthcheck")
1616
@ApiOkResponse()
1717
@ApiInternalServerErrorResponse()
18-
getHeathCheck(): string {
18+
getHealthCheck(): string {
1919
const isKafkaOk = this.healthCheckService.isKafkaOk();
2020
// This is the healthcheck for k8s
2121
if (!isKafkaOk) {

0 commit comments

Comments
 (0)