This commit is contained in:
2025-12-06 08:45:59 +03:30
parent 63c62c4bab
commit 683406a396
4 changed files with 83 additions and 26 deletions
@@ -26,6 +26,15 @@ export class PaymentsController {
return this.paymentMethodService.findByRestaurant(restId);
}
@UseGuards(AuthGuard)
@ApiBearerAuth()
@Get('public/payments/methods/restaurant')
@ApiOperation({ summary: 'Get the restaurant payment methods' })
@ApiNotFoundResponse({ description: 'Restaurant payment methods not found' })
payOrder(@RestId() restId: string) {
return this.paymentMethodService.findByRestaurant(restId);
}
// @UseGuards(AdminAuthGuard)
// @ApiBearerAuth()
// @Get('admin/payments')