Skip to content

Commit 2e202a3

Browse files
authored
Fix job launcher nest configuration (#937)
1 parent b03315f commit 2e202a3

File tree

1 file changed

+2
-2
lines changed
  • packages/apps/job-launcher/server/src

1 file changed

+2
-2
lines changed

packages/apps/job-launcher/server/src/main.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import session from 'express-session';
22
import { NestFactory } from '@nestjs/core';
33
import { ConfigService } from '@nestjs/config';
4-
import { NestExpressApplication } from '@nestjs/platform-express';
54
import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
65
import { json, urlencoded } from 'body-parser';
76
import { useContainer } from 'class-validator';
@@ -12,9 +11,10 @@ import { AppModule } from './app.module';
1211
import { ConfigNames } from './common/config';
1312
import { createWriteStream } from 'fs';
1413
import { get } from 'http';
14+
import { INestApplication } from '@nestjs/common';
1515

1616
async function bootstrap() {
17-
const app = await NestFactory.create<NestExpressApplication>(AppModule, {
17+
const app = await NestFactory.create<INestApplication>(AppModule, {
1818
cors: true,
1919
});
2020

0 commit comments

Comments
 (0)