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);