order status
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-15 12:20:46 +03:30
parent 300329739b
commit 5a07ea13ed
2 changed files with 2 additions and 3 deletions
@@ -7,8 +7,6 @@ import {
ApiTags, ApiTags,
ApiOperation, ApiOperation,
ApiCreatedResponse, ApiCreatedResponse,
ApiOkResponse,
ApiNotFoundResponse,
ApiQuery, ApiQuery,
ApiBody, ApiBody,
ApiParam, ApiParam,
@@ -391,7 +391,8 @@ console.log(cart);
if ( if (
from == OrderStatus.PENDING_PAYMENT && from == OrderStatus.PENDING_PAYMENT &&
to == OrderStatus.PREPARING && to == OrderStatus.PREPARING &&
paymentMethod !== PaymentMethodEnum.Cash paymentMethod !== PaymentMethodEnum.Cash &&
paymentMethod !== PaymentMethodEnum.CreditCard
) { ) {
return false; return false;
} }