refactor order craetion
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user