Changed types
This commit is contained in:
@@ -47,7 +47,7 @@ declare module "fastify" {
|
||||
user?: {
|
||||
user_id: string;
|
||||
email: string;
|
||||
tenant_id?: string;
|
||||
tenant_id?: number;
|
||||
role?: string;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user