payment
This commit is contained in:
@@ -19,7 +19,7 @@ export class OrdersController {
|
||||
@ApiResponse({ status: 400, description: 'Bad request - cart validation failed' })
|
||||
@ApiResponse({ status: 404, description: 'Cart, user, restaurant, address, or payment method not found' })
|
||||
create(@UserId() userId: string, @RestId() restaurantId: string) {
|
||||
return this.ordersService.create(userId, restaurantId);
|
||||
return this.ordersService.checkout(userId, restaurantId);
|
||||
}
|
||||
|
||||
@Get('public/orders')
|
||||
|
||||
Reference in New Issue
Block a user