Browse Source
Merge branch 'main' into fix/consistent-type-definitions
pull/3980/head
Thomas Kaul
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
8 additions and
2 deletions
-
CHANGELOG.md
-
README.md
-
apps/api/src/app/health/health.controller.ts
|
|
@ -9,8 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
- Switched the `no-empty-function` rule from `warn` to `error` in the `eslint` configuration |
|
|
|
- Switched the `consistent-type-definitions` rule from `warn` to `error` in the `eslint` configuration |
|
|
|
- Switched the `no-empty-function` rule from `warn` to `error` in the `eslint` configuration |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
|
|
@ -177,6 +177,12 @@ Deprecated: `GET http://localhost:3333/api/v1/auth/anonymous/<INSERT_SECURITY_TO |
|
|
|
|
|
|
|
`200 OK` |
|
|
|
|
|
|
|
``` |
|
|
|
{ |
|
|
|
"status": "OK" |
|
|
|
} |
|
|
|
``` |
|
|
|
|
|
|
|
### Import Activities |
|
|
|
|
|
|
|
#### Prerequisites |
|
|
|
|
|
@ -21,7 +21,7 @@ export class HealthController { |
|
|
|
@Get() |
|
|
|
@HttpCode(HttpStatus.OK) |
|
|
|
public getHealth() { |
|
|
|
return { status: StatusCodes.OK }; |
|
|
|
return { status: getReasonPhrase(StatusCodes.OK) }; |
|
|
|
} |
|
|
|
|
|
|
|
@Get('data-enhancer/:name') |
|
|
|