chore: formatting
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user