chore: formatting
This commit is contained in:
@@ -11,7 +11,7 @@ export function installRouter(app: Express, openAPIObject: OpenAPIObject) {
|
|||||||
const s = initServer();
|
const s = initServer();
|
||||||
const router = s.router(contract, {
|
const router = s.router(contract, {
|
||||||
postLog: async ({ params, body }) => {
|
postLog: async ({ params, body }) => {
|
||||||
const entries = 'length' in body ? body : [body];
|
const entries = "length" in body ? body : [body];
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await postLog(
|
await postLog(
|
||||||
@@ -76,7 +76,11 @@ export function installRouter(app: Express, openAPIObject: OpenAPIObject) {
|
|||||||
body: openAPIObject,
|
body: openAPIObject,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
v1: {
|
||||||
postLogElements() {
|
postLogElements() {
|
||||||
|
throw new Error("not implemented");
|
||||||
|
},
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
createExpressEndpoints(contract, router, app);
|
createExpressEndpoints(contract, router, app);
|
||||||
|
|||||||
Reference in New Issue
Block a user