This commit is contained in:
2025-11-25 16:11:00 +03:30
parent e6fb28b87e
commit c2bd8b94e5
5 changed files with 126 additions and 123 deletions
+1 -3
View File
@@ -9,14 +9,12 @@ import { RestaurantPaymentMethodRepository } from './repositories/restaurant-pay
import { RestaurantPaymentMethodService } from './services/restaurant-payment-method.service';
import { Restaurant } from '../restaurants/entities/restaurant.entity';
import { PaymentsController } from './controllers/payments.controller';
import { PaymentMethodController } from './controllers/payment-method.controller';
import { RestaurantPaymentMethodController } from './controllers/restaurant-payment-method.controller';
import { AuthModule } from '../auth/auth.module';
import { JwtModule } from '@nestjs/jwt';
@Module({
imports: [MikroOrmModule.forFeature([PaymentMethod, RestaurantPaymentMethod, Restaurant]), AuthModule, JwtModule],
controllers: [PaymentsController, PaymentMethodController, RestaurantPaymentMethodController],
controllers: [PaymentsController],
providers: [
PaymentsService,
PaymentMethodService,