fix(backend): Import errors

This commit is contained in:
Tibo De Peuter 2025-03-13 23:34:40 +01:00
parent 9f67e7783b
commit 5010ee3b0b
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
3 changed files with 8 additions and 8 deletions

View file

@ -1,6 +1,6 @@
import { RequestHandler } from 'express';
import swaggerUi from 'swagger-ui-express';
import swaggerDocument from '../../docs/api/swagger.json';
import swaggerDocument from '../../docs/api/swagger.json' with { type: 'json' };
const swaggerMiddleware: RequestHandler = swaggerUi.setup(swaggerDocument);