fix : last step of creat product dor admin

This commit is contained in:
morteza-mortezai
2025-10-25 12:10:42 +03:30
parent de42fd9c66
commit afc0141381
@@ -222,7 +222,7 @@ class ProductService {
{ {
imagesUrl, imagesUrl,
step: CreateProductStep.Image, step: CreateProductStep.Image,
status: ProductStatus.Pending, status: ProductStatus.Approved,
}, },
{ new: true }, { new: true },
); );
@@ -343,7 +343,7 @@ class ProductService {
{ {
imagesUrl, imagesUrl,
step: CreateProductStep.Image, step: CreateProductStep.Image,
status: ProductStatus.Approved, status: ProductStatus.Pending,
}, },
{ new: true }, { new: true },
); );