refactor order craetion

This commit is contained in:
2025-12-17 15:36:04 +03:30
parent 26220dbb8b
commit bfb7441a0c
7 changed files with 180 additions and 78 deletions
@@ -67,8 +67,8 @@ export class PaymentsController {
name: 'X-Slug',
required: true,
})
payAnOrder(@Param('orderId') orderId: string, @RestId() restId: string) {
return this.paymentsService.payOrder(orderId, restId);
payAnOrder(@Param('orderId') orderId: string) {
return this.paymentsService.payOrder(orderId);
}
// @UseGuards(AdminAuthGuard)
// @ApiBearerAuth()