Feature/33 api fails when no pilots or logbook entries #35

Merged
noahspannbauer merged 85 commits from feature/33-api-fails-when-no-pilots-or-logbook-entries into main 2025-02-02 18:24:48 -05:00
3 changed files with 1 additions and 5 deletions
Showing only changes of commit 2d12ee3d0e - Show all commits

View File

@@ -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(),

View File

@@ -6,7 +6,7 @@ export class AppService {
constructor(private readonly msGraphService: MsGraphService) {}
getHello(): string {
return 'Hello World!';
return process.env.toString();
}
async getPersonSearchResults(

View File

@@ -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(