Allow static only classes and make Health.check() no longer async
This commit is contained in:
parent
85da5b630f
commit
c9ba6a6cc5
3 changed files with 6 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { HealthModel } from "./model";
|
||||
import type { HealthModel } from "./model";
|
||||
|
||||
export abstract class Health {
|
||||
static async check() {
|
||||
static check() {
|
||||
return {
|
||||
status: "ok",
|
||||
} satisfies HealthModel["checkResponse"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue