Merge pull request #21 from Danakcorp/mrtz

fix : last step of creat product dor admin
This commit is contained in:
morteza-mortezai
2025-10-25 12:11:45 +03:30
committed by GitHub
@@ -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 },
); );