Browse Source

Merge branch 'main' into fix/consistent-type-definitions

pull/3980/head
Thomas Kaul 10 months ago
committed by GitHub
parent
commit
9f7ba3ea89
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      CHANGELOG.md
  2. 6
      README.md
  3. 2
      apps/api/src/app/health/health.controller.ts

2
CHANGELOG.md

@ -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

6
README.md

@ -177,6 +177,12 @@ Deprecated: `GET http://localhost:3333/api/v1/auth/anonymous/<INSERT_SECURITY_TO
`200 OK`
```
{
"status": "OK"
}
```
### Import Activities
#### Prerequisites

2
apps/api/src/app/health/health.controller.ts

@ -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')

Loading…
Cancel
Save