wallet
This commit is contained in:
@@ -7,11 +7,13 @@ import { UserAddress } from './entities/user-address.entity';
|
||||
import { JwtModule } from '@nestjs/jwt';
|
||||
import { UserRepository } from './repositories/user.repository';
|
||||
import { RestaurantsModule } from '../restaurants/restaurants.module';
|
||||
import { UserWalletRepository } from './repositories/user-wallet.repository';
|
||||
import { UserWallet } from './entities/user-wallet.entity';
|
||||
|
||||
@Module({
|
||||
providers: [UserService, UserRepository],
|
||||
providers: [UserService, UserRepository, UserWalletRepository],
|
||||
controllers: [UsersController],
|
||||
imports: [MikroOrmModule.forFeature([User, UserAddress]), JwtModule, RestaurantsModule],
|
||||
exports: [UserService, UserRepository],
|
||||
imports: [MikroOrmModule.forFeature([User, UserAddress, UserWallet]), JwtModule, RestaurantsModule],
|
||||
exports: [UserService, UserRepository, UserWalletRepository],
|
||||
})
|
||||
export class UserModule {}
|
||||
|
||||
Reference in New Issue
Block a user