fix(server): hardcode API-Version

This commit is contained in:
Simon Giesel 2020-09-21 14:53:11 +02:00
parent b54cf88ca1
commit 26573e5a2b

View file

@ -36,7 +36,7 @@ async function bootstrap(): Promise<void> {
.setTitle('Cliffbreak TeamSpeak API')
.setDescription('This is the official Cliffbreak TeamSpeak API!')
.addBearerAuth()
.setVersion(require('./../package.json').version)
.setVersion('1.0.0')
.build();
const swaggerDocument = SwaggerModule.createDocument(app, swaggerOptions);
SwaggerModule.setup('/api-docs', app, swaggerDocument);