chore: formatting

This commit is contained in:
Mattia Belletti
2025-07-07 11:43:52 +02:00
parent e50a9b735f
commit 2ccfaa4f45

View File

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