From 26573e5a2b030bfb9fc58c6ddc5acd3ee5de56b7 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 21 Sep 2020 14:53:11 +0200 Subject: [PATCH] fix(server): hardcode API-Version --- server/src/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/server.ts b/server/src/server.ts index 9a65ac6..76362cc 100644 --- a/server/src/server.ts +++ b/server/src/server.ts @@ -36,7 +36,7 @@ async function bootstrap(): Promise { .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);