Changed types

This commit is contained in:
2025-09-12 19:40:53 +02:00
parent af1bf82c75
commit 0fe16ad79e
12 changed files with 35 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ declare module "fastify" {
user?: {
user_id: string;
email: string;
tenant_id?: string;
tenant_id?: number;
role?: string;
};
}

View File

@@ -16,6 +16,7 @@ export default fp(async (server: FastifyInstance) => {
},
});
// @ts-ignore
await server.register(swaggerUi, {
routePrefix: "/docs", // UI erreichbar unter http://localhost:3000/docs
swagger: {