Feature/33 api fails when no pilots or logbook entries #35
@@ -14,8 +14,6 @@ import { PilotModule } from './pilot/pilot.module';
|
||||
import { APP_FILTER } from '@nestjs/core';
|
||||
import { HttpExceptionFilter } from './filters/http-exception.filter';
|
||||
|
||||
console.log('app: ' + process.env);
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
ConfigModule.forRoot(),
|
||||
|
||||
@@ -6,7 +6,7 @@ export class AppService {
|
||||
constructor(private readonly msGraphService: MsGraphService) {}
|
||||
|
||||
getHello(): string {
|
||||
return 'Hello World!';
|
||||
return process.env.toString();
|
||||
}
|
||||
|
||||
async getPersonSearchResults(
|
||||
|
||||
@@ -8,8 +8,6 @@ async function bootstrap() {
|
||||
const httpService = new HttpService();
|
||||
const app = await NestFactory.create(AppModule);
|
||||
|
||||
console.log('main: ' + process.env);
|
||||
|
||||
app.setGlobalPrefix('api');
|
||||
app.useGlobalFilters(new HttpExceptionFilter());
|
||||
httpService.axiosRef.interceptors.response.use(
|
||||
|
||||
Reference in New Issue
Block a user