This commit is contained in:
2025-11-23 10:58:12 +03:30
parent b08235565b
commit 8a42b258ac
@@ -30,7 +30,7 @@ export class RestaurantPaymentMethodController {
return this.restaurantPaymentMethodService.create(restId, createRestaurantPaymentMethodDto); return this.restaurantPaymentMethodService.create(restId, createRestaurantPaymentMethodDto);
} }
@Get('by-payment-method/:paymentMethodId') @Get(':paymentMethodId')
@ApiOperation({ summary: 'Get restaurant payment methods by payment method ID' }) @ApiOperation({ summary: 'Get restaurant payment methods by payment method ID' })
@ApiParam({ name: 'paymentMethodId', type: 'string', description: 'Payment method ID' }) @ApiParam({ name: 'paymentMethodId', type: 'string', description: 'Payment method ID' })
@ApiOkResponse({ description: 'List of restaurant payment methods for the payment method' }) @ApiOkResponse({ description: 'List of restaurant payment methods for the payment method' })