From 2ccfaa4f459089ebb74017642ef2fc0425e97dd5 Mon Sep 17 00:00:00 2001 From: Mattia Belletti Date: Mon, 7 Jul 2025 11:43:52 +0200 Subject: [PATCH] chore: formatting --- src/server/router.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/server/router.ts b/src/server/router.ts index d9eb51f..f3e6641 100644 --- a/src/server/router.ts +++ b/src/server/router.ts @@ -11,7 +11,7 @@ export function installRouter(app: Express, openAPIObject: OpenAPIObject) { const s = initServer(); const router = s.router(contract, { postLog: async ({ params, body }) => { - const entries = 'length' in body ? body : [body]; + const entries = "length" in body ? body : [body]; try { await postLog( @@ -76,7 +76,11 @@ export function installRouter(app: Express, openAPIObject: OpenAPIObject) { body: openAPIObject, }; }, + v1: { postLogElements() { + throw new Error("not implemented"); + }, + }, }); createExpressEndpoints(contract, router, app);