Skip to content

Commit

Permalink
feat: users module
Browse files Browse the repository at this point in the history
  • Loading branch information
aniebietafia committed Sep 4, 2024
1 parent d024620 commit d84b1e7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions brints-estate-api/src/users/users.module.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
import { Module } from '@nestjs/common';
import { forwardRef, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';

import { UsersController } from './users.controller';
import { UsersService } from './providers/users.service';
import { AuthModule } from 'src/auth/auth.module';

import { User } from './entities/user.entity';
import { UserAuth } from './entities/userAuth.entity';

@Module({
controllers: [UsersController],
providers: [UsersService],
imports: [TypeOrmModule.forFeature([User, UserAuth])],
imports: [
TypeOrmModule.forFeature([User, UserAuth]),
forwardRef(() => AuthModule),
],
exports: [TypeOrmModule, UsersService],
})
export class UsersModule {}

0 comments on commit d84b1e7

Please sign in to comment.