Move monitoring TODO

Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
Yannick Bungers 2023-10-07 15:47:33 +02:00 committed by David Mehren
parent 040d473b62
commit 7e1123e8a4
2 changed files with 2 additions and 1 deletions

View file

@ -29,7 +29,6 @@ export class MonitoringController {
403,
)
getStatus(): Promise<ServerStatusDto> {
// TODO: toServerStatusDto.
return this.monitoringService.getServerStatus();
}

View file

@ -10,6 +10,8 @@ import { ServerStatusDto } from './server-status.dto';
@Injectable()
export class MonitoringService {
// TODO Implement Server Status and other routes
// (https://github.com/hedgedoc/hedgedoc/issues/478)
async getServerStatus(): Promise<ServerStatusDto> {
return {
connectionSocketQueueLength: 0,