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,
ApiOperation,
ApiCreatedResponse,
ApiOkResponse,
ApiNotFoundResponse,
ApiQuery,
ApiBody,
ApiParam,
@@ -391,7 +391,8 @@ console.log(cart);
if (
from == OrderStatus.PENDING_PAYMENT &&
to == OrderStatus.PREPARING &&
paymentMethod !== PaymentMethodEnum.Cash
paymentMethod !== PaymentMethodEnum.Cash &&
paymentMethod !== PaymentMethodEnum.CreditCard
) {
return false;
}