Skip to content

Commit

Permalink
fixing rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
lukejianu committed Oct 22, 2023
1 parent 5bbbdb0 commit ceb307e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/api-v2/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {
ClassSerializerInterceptor,
LogLevel,
LogLevel,
LoggerService,
ValidationPipe,
} from "@nestjs/common";
Expand Down Expand Up @@ -61,12 +60,4 @@ function logLevels(env: string): LogLevel[] {
return ["log", "error", "warn", "debug"];
}

function logLevels(env: string): LogLevel[] {
// TODO: Is there a constant declared somewhere for this?
if (env === "production") {
return ["error", "warn"];
}
return ["log", "error", "warn", "debug"];
}

bootstrap();

0 comments on commit ceb307e

Please sign in to comment.