From 8a42b258ac1e8db7396c797d9d7bd4af16501cfd Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Sun, 23 Nov 2025 10:58:12 +0330 Subject: [PATCH] method --- .../controllers/restaurant-payment-method.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/payments/controllers/restaurant-payment-method.controller.ts b/src/modules/payments/controllers/restaurant-payment-method.controller.ts index 9a79932..4f3a932 100644 --- a/src/modules/payments/controllers/restaurant-payment-method.controller.ts +++ b/src/modules/payments/controllers/restaurant-payment-method.controller.ts @@ -30,7 +30,7 @@ export class RestaurantPaymentMethodController { return this.restaurantPaymentMethodService.create(restId, createRestaurantPaymentMethodDto); } - @Get('by-payment-method/:paymentMethodId') + @Get(':paymentMethodId') @ApiOperation({ summary: 'Get restaurant payment methods by payment method ID' }) @ApiParam({ name: 'paymentMethodId', type: 'string', description: 'Payment method ID' }) @ApiOkResponse({ description: 'List of restaurant payment methods for the payment method' })