Skip to content

Commit

Permalink
nicklas shit gefixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Felioh committed May 5, 2024
1 parent e537c30 commit bc05090
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,6 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

#expo
frontend/.expo/
2 changes: 1 addition & 1 deletion apps/auth/src/auth.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { MongooseModule } from '@nestjs/mongoose';
import { UsersService } from './users/users.service';
import { UserSchema } from './users/users.schema';
import { LoggerModule } from '@app/common';
import * as Joi form 'joi';
import { ConfigModule } from '@nestjs/config';
import * as Joi from 'joi';

@Module({
imports: [
Expand Down
2 changes: 1 addition & 1 deletion apps/gateway/src/gateway.module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Logger, Module } from '@nestjs/common';
import { Module } from '@nestjs/common';
import { GatewayController } from './gateway.controller';
import { GatewayService } from './gateway.service';
import { AuthController } from 'apps/gateway/src/auth.controller';
Expand Down
2 changes: 1 addition & 1 deletion apps/gateway/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function bootstrap() {
app.useGlobalPipes(new ValidationPipe({ whitelist: true }));
app.useGlobalFilters(new AllGlobalExceptionsFilter());
app.use(cookieParser());
app.useLogger(app.get('Logger'));
app.useLogger(app.get(Logger));
await app.listen(3000);
}
bootstrap();
2 changes: 1 addition & 1 deletion apps/gateway/src/workouts.controller.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Body, Controller, Get, Inject, Post, Query } from '@nestjs/common';
import { GatewayService } from './gateway.service';
import { ClientProxy } from '@nestjs/microservices';
import { Public } from '@app/common/lib/auth.guard';
import { Public } from '@app/common';
import { CreateExcerciseDto } from 'apps/workouts/src/dto/create-excercise.dto';
import { CreateWorkoutDto } from 'apps/workouts/src/dto/create-workout.dto';
import { CreateWorkoutLogDto } from 'apps/workouts/src/dto/create-workout-log.dto';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"bcrypt": "^5.1.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"joi": "^17.12.3",
"cookie-parser": "^1.4.6",
"express": "^4.19.2",
"joi": "^17.13.1",
"mongoose": "^8.2.4",
"nestjs-pino": "^4.0.0",
"passport": "^0.7.0",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bc05090

Please sign in to comment.