MCPcopy Create free account
hub / github.com/RemoteState/nodejs-ecs / GetHealth

Method GetHealth

src/controller/healthController.ts:14–22  ·  view source on GitHub ↗
(req: Request, res: Response, next: NextFunction)

Source from the content-addressed store, hash-verified

12 }
13
14 public async GetHealth(req: Request, res: Response, next: NextFunction) {
15 try {
16 res.status(200).send({
17 status: 'okay',
18 });
19 } catch (e) {
20 next(e);
21 }
22 }
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected