Skip to content

Commit

Permalink
style: Fixed build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Jan 9, 2025
1 parent 265c425 commit 64834ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import * as prometheusRegister from '../middleware/instrumentation';
import statusConnection from '../middleware/statusConnection';
import swaggerDocument from '../swagger.json';

const upload = multer(uploadConfig as any);
const upload = multer(uploadConfig as any) as any;
const routes: Router = Router();

// Generate Token
Expand Down Expand Up @@ -932,8 +932,8 @@ routes.post(
routes.post('/api/:session/chatwoot', DeviceController.chatWoot);

// Api Doc
routes.use('/api-docs', swaggerUi.serve);
routes.get('/api-docs', swaggerUi.setup(swaggerDocument));
routes.use('/api-docs', swaggerUi.serve as any);
routes.get('/api-docs', swaggerUi.setup(swaggerDocument) as any);

//k8s
routes.get('/healthz', HealthCheck.healthz);
Expand Down

0 comments on commit 64834ae

Please sign in to comment.