end points to get current points and wallet

This commit is contained in:
2025-12-29 22:14:02 +03:30
parent 85067f0373
commit e067912bb4
6 changed files with 54 additions and 29 deletions
+9 -10
View File
@@ -11,17 +11,16 @@ import { WalletTransactionRepository } from './repositories/wallet-transaction.r
import { WalletService } from './providers/wallet.service';
import { WalletTransaction } from './entities/wallet-transaction.entity';
import { PointTransaction } from './entities/point-transaction.entity';
import { PointTransactionRepository } from './repositories/point-transaction.repository';
@Module({
providers: [UserService, WalletService, UserRepository, WalletTransactionRepository],
providers: [UserService, WalletService, UserRepository, WalletTransactionRepository, PointTransactionRepository],
controllers: [UsersController],
imports: [MikroOrmModule.forFeature([
User,
UserAddress,
WalletTransaction,
PointTransaction
]),
JwtModule, RestaurantsModule],
exports: [UserService, WalletService, UserRepository, WalletTransactionRepository],
imports: [
MikroOrmModule.forFeature([User, UserAddress, WalletTransaction, PointTransaction]),
JwtModule,
RestaurantsModule,
],
exports: [UserService, WalletService, UserRepository, WalletTransactionRepository, PointTransactionRepository],
})
export class UserModule { }
export class UserModule {}